export declare function defaultStateDir(): string; export declare function readState(path: string): Promise; /** Atomic replace; a failed write never destroys the previous approval/snapshot. */ export declare function writeState(path: string, value: unknown): Promise; /** Serialize read/compare/write across processes. A leftover lock fails closed. */ export declare function withStateLock(path: string, action: () => Promise): Promise; //# sourceMappingURL=state.d.ts.map