/** * checkin/state-reader.ts * * Binds a CheckinStateReader to the live runtime through narrow, structural * views of sessions and automation runs, narrow enough that a SharedSessionRecord * and an AutomationRun satisfy them directly, and that a test can hand-roll them * without the real services. */ import type { CheckinStateReader } from './types.js'; export interface CheckinSessionView { readonly status: string; readonly activeAgentId?: string | undefined; readonly pendingInputCount: number; readonly title: string; readonly surfaceKinds: readonly string[]; } export interface CheckinRunView { readonly status: string; readonly endedAt?: number | undefined; } export interface CheckinRuntimeReaders { listSessions(): readonly CheckinSessionView[]; listRuns(): readonly CheckinRunView[]; now?(): number; } /** Build the live state reader. Deterministic given its injected views. */ export declare function createRuntimeCheckinStateReader(readers: CheckinRuntimeReaders): CheckinStateReader; //# sourceMappingURL=state-reader.d.ts.map