import type { Config } from "../config.js"; import type { DeliveryLog } from "../delivery-log.js"; import type { Secrets } from "../env.js"; import type { HealthCache } from "../health.js"; import type { JobStore } from "../jobs.js"; import type { ReadinessCache } from "../readiness.js"; import type { SkillRegistry } from "../registry.js"; import type { ScheduleStatus } from "../scheduler.js"; import { type ServerState } from "../server.js"; import type { ManagedSkills } from "./managed.js"; import { type Snapshot } from "./protocol.js"; export interface SnapshotDeps { config: Config; secrets: () => Secrets; /** The `.env` values, for scrubbing. */ fileSecrets: () => Secrets; registry: SkillRegistry; store: JobStore; deliveryLog?: DeliveryLog; schedules?: () => ScheduleStatus[]; health?: HealthCache; readiness?: ReadinessCache; serverState?: () => ServerState | undefined; /** The cloud-managed skills this machine serves (`managed` in the snapshot). */ managed?: Pick; } export declare function buildSnapshot(deps: SnapshotDeps): Snapshot;