import type { SqliteDatabase } from '../db/adapter.js'; import type { TaskProfile } from '../akinator/types.js'; import { type LedgerProjection } from '../ledger/projection.js'; import { type RunRecord } from '../ledger/types.js'; export interface ContextRunRetrievalState { run: RunRecord; profile: TaskProfile; profileHash: string; recommendedTags: string[]; intakeSessionId: string; intakeStatus: 'active' | 'ready' | 'exhausted'; projection: LedgerProjection | null; stateHash: string; } export interface ContextRunProfileBinding { workspace: string; intakeSessionId: string; intakePolicyVersion: string; initialProfileHash: string; profileHash: string; } /** Verify the exact intake/profile binding at a persisted delivery cursor. */ export declare function readContextRunProfileBinding(database: SqliteDatabase, runId: string, throughSequence: number): ContextRunProfileBinding; /** Read and validate the complete immutable input used by broker ranking/recommendations. */ export declare function readContextRunRetrievalState(database: SqliteDatabase, runId: string): ContextRunRetrievalState; //# sourceMappingURL=run-state.d.ts.map