import type { ProjectReadBoundary } from "../io/bootstrap-write-boundary.js"; import type { SemanticTddSourceSnapshot, SemanticTddSourceSnapshotCapture } from "./workflow-semantic-tdd-transition-types.js"; export { parseSemanticTddSourceSnapshot } from "./workflow-semantic-tdd-source-snapshot-parser.js"; export declare const SEMANTIC_TDD_SOURCE_SNAPSHOT_DIR = "semantic-tdd/source-snapshots"; export type SourceSnapshotRead = { readonly diagnostics: readonly string[]; readonly files: readonly SemanticTddSourceSnapshot[]; readonly present: boolean; }; export type SemanticTddSourceSnapshotOptions = { readonly projectReadBoundary?: ProjectReadBoundary; }; export declare function captureSemanticTddSourceSnapshot(projectDir: string, capturedAt: string, options?: SemanticTddSourceSnapshotOptions): SemanticTddSourceSnapshotCapture; export declare function persistSemanticTddSourceSnapshot(projectDir: string, attemptId: string, phase: "green" | "red", capturedAt: string, capture: SemanticTddSourceSnapshotCapture): { readonly diagnosticCode?: string; readonly path?: string; }; export declare function readSemanticTddSourceSnapshots(projectDir: string): SourceSnapshotRead;