/** * `src/services/code/post-compact-checkpoint.ts` * * The checkpoint read layer behind the post-compact auto-resume detector * (`post-compact-detector.ts`): the two directory/name constants, the * checkpoint record shapes, the same-day test, and the defensive single-file * read. Moved verbatim (wave 3, file-size cap campaign) so the detector stays * under the 300 raw-line cap — no detection decision lives here. These names * were module-private to the detector before the move and stay private to it * in effect: the detector imports them and does not re-export them, so the * module's public surface is unchanged. */ export declare const CHECKPOINTS_DIR = "checkpoints"; export declare const CHECKPOINT_EXT = ".json"; export interface CheckpointFile { readonly path: string; readonly mtime: Date; readonly content: CheckpointContent; } interface CheckpointContent { readonly currentPlan?: string; readonly openQuestions?: readonly string[]; readonly recentDecisions?: readonly string[]; readonly mode?: string; } export declare function isToday(d: Date, now: Date): boolean; export declare function safeReadCheckpoint(absPath: string): CheckpointFile | null; export {};