import { type ChecklistDetection } from "./checklist-detection.js"; import { type GitState } from "./checklist-git.js"; import { type ChecklistRow, type Result } from "./checklist-store.js"; export interface ChecklistSnapshotRow extends ChecklistRow { readonly detection: ChecklistDetection | null; readonly runPrompt: string | null; /** The project's commit or working tree changed after this result was recorded. */ readonly changedSinceCheck: boolean; } export interface ChecklistSnapshot { readonly staleAfterDays: number; readonly detectionWarnings: readonly string[]; readonly items: readonly ChecklistSnapshotRow[]; } export type ReadGitState = (cwd: string, signal?: AbortSignal) => Promise; /** Read-only snapshot shared by the app and the agent tool. */ export declare function readChecklistSnapshot(cwd: string, now: Date, signal?: AbortSignal, gitState?: ReadGitState): Promise>;