import type { JobRunner } from "./job-runner.ts"; import type { JobSlots } from "./job-slots.ts"; import type { RunHub } from "./run-hub.ts"; import type { RunParams } from "./run-pipeline.ts"; export interface CiEnv { readonly ARTIFACTS: Artifacts; readonly DB: D1Database; readonly RUN_HUB: DurableObjectNamespace; readonly JOB_RUNNER: DurableObjectNamespace; readonly JOB_SLOTS: DurableObjectNamespace; readonly RUNS: Workflow; /** 32 random bytes in base64. It wraps the key of every CI secret. Without it, secrets can be neither saved nor read. */ readonly CI_SECRETS_KEY?: string; }