export interface AgentRun { agentId: string; completedAt: string; outputCount: number; confidence: 'high' | 'medium' | 'low'; summary: string; } export interface GateRecord { gateId: string; status: 'pending' | 'approved' | 'returned'; reviewedAt?: string; reviewer?: string; notes?: string; } export interface PipelineState { project: string; path: string; createdAt: string; updatedAt: string; agents: Record; gates: Record; openEpisodes: string[]; } export declare function initState(projectPath: string, projectName: string): PipelineState; export declare function readState(projectPath: string): PipelineState; export declare function writeState(projectPath: string, state: PipelineState): void; export declare function canRun(agentId: string, state: PipelineState): { can: boolean; reason?: string; }; export declare function markAgentComplete(agentId: string, run: AgentRun, state: PipelineState): PipelineState; export declare function approveGate(gateId: string, notes: string, state: PipelineState): PipelineState; export declare function returnGate(gateId: string, notes: string, state: PipelineState): PipelineState; //# sourceMappingURL=state.d.ts.map