import type { BoberConfig } from "../../config/schema.js"; import { loadContract, listContracts } from "../../state/sprint-state.js"; import type { WorkflowRunResult } from "./types.js"; import type { PipelineResult } from "../pipeline.js"; export declare class RunResultFlusher { /** * Commit a WorkflowRunResult to durable .bober/ state. * * Write sequence (mirrors pipeline.ts:381-394): * 1. For each sprint: updateContractStatus → updateContract (crash-safe per-contract). * 2. updateProgress after each contract (cumulative list, crash-safe). * 3. After all contracts: appendHistory for each pendingHistory entry (stamped). * 4. Save the spec. * 5. Return PipelineResult. */ flush(projectRoot: string, _config: BoberConfig, result: WorkflowRunResult): Promise; } export { loadContract, listContracts }; //# sourceMappingURL=flusher.d.ts.map