/** * Read and write the update-check state file atomically. */ import type { UpdateCheckState } from './throttle.js'; export declare const DEFAULT_STATE: UpdateCheckState; /** * Reads the update state file; returns DEFAULT_STATE on any error. */ export declare function readUpdateState(stateDir: string): Promise; /** * Atomically write the update state file with mode 0o600. * Uses write-then-rename on the same directory. */ export declare function writeUpdateState(stateDir: string, state: UpdateCheckState): Promise; //# sourceMappingURL=state.d.ts.map