import type { UpdateHoldoffRecord, UpdateHoldoffStore } from './auto-update-holdoff-deadline.js'; /** File under the DKG home (next to `releases/`) that holds the persisted deadline. */ export declare const UPDATE_HOLDOFF_FILE = ".update-holdoff.json"; /** The fs calls the store makes. Defaults to the daemon's `_autoUpdateIo`. */ export interface UpdateHoldoffFs { readFile(path: string, encoding: 'utf-8'): Promise; writeFile(path: string, data: string): Promise; rename(from: string, to: string): Promise; unlink(path: string): Promise; } /** Parse a persisted record, throwing on anything that is not a well-formed one. */ export declare function parseUpdateHoldoffRecord(raw: string): UpdateHoldoffRecord; /** * JSON-file store for the rollout deadline. Writes go through the daemon's * `writeFileAtomic` (temp sibling + rename), so a crash mid-write never leaves * a torn record. `read` returns null when the file is absent and throws when * it cannot be read or parsed; the policy logs that and draws a fresh hold. */ export declare function createFileUpdateHoldoffStore(path: string, fs?: UpdateHoldoffFs): UpdateHoldoffStore; //# sourceMappingURL=auto-update-holdoff-store.d.ts.map