export interface SessionLogCaptureSummary { copied: number; unchanged: number; metadataOnly: number; deferred: number; warnings: string[]; } type CaptureTestPhase = "after-copy" | "after-prepare" | "after-prepare-batch" | "after-rename" | "before-commit" | "after-commit-batch"; /** Test-only crash seam for recovery coverage. */ export declare function setSessionLogCaptureTestHook(hook: ((phase: CaptureTestPhase, source: string) => void) | undefined): void; /** Test-only seam for forcing the append/compaction crash window. */ export declare function setSessionLogCaptureMaxRecordsBeforeCompactionForTest(maxRecordsBeforeCompaction: number | undefined): void; /** * Capture supported harness logs for one HQ root. This operation is deliberately * best-effort to retain reindex's historic contract, except a corrupt capture * store refuses the pass rather than silently re-copying every transcript. */ export declare function captureSessionLogs(root: string): SessionLogCaptureSummary; export {}; //# sourceMappingURL=session-log-capture.d.ts.map