/** * @module capture/inventory-progress * * A tiny, process-wide record of how the first-run file inventory is going, so * `capture.status` can show whether a walk is running, how far it got, whether * it was truncated at the file budget, and how often it paused for outbox * backpressure — rather than a partial inventory being silent (SKY-112). */ export type InventoryProgress = { state: "idle" | "running" | "done"; filesInventoried: number; truncated: boolean; backpressurePauses: number; startedAt?: number; finishedAt?: number; }; export declare function getInventoryProgress(): InventoryProgress; /** Reset counters and mark a fresh inventory run as started (`now` is injected * so callers control the clock and tests stay deterministic). */ export declare function markInventoryStarted(now: number): void; export declare function noteInventoryFiles(count: number): void; export declare function noteInventoryTruncated(): void; export declare function noteInventoryPaused(): void; export declare function markInventoryFinished(now: number): void; /** Test-only: return to the pristine idle state. */ export declare function resetInventoryProgressForTest(): void;