import { type ContinuationStoreLock } from "./continuation-store-types.js"; export declare function acquireContinuationStoreLock(stateDir: string): Promise; export declare function loadOrCreateContinuationSecret(stateDir: string): Promise; export declare function ensureOwnerOnlyDirectory(path: string): Promise; export declare function writeJsonAtomic(path: string, value: unknown, syncParent?: boolean, maxBytes?: number): Promise; export declare function writeTextAtomic(path: string, body: string, maxBytes: number): Promise; export declare function continuationPathExists(path: string): Promise; export declare function assertOwnerOnlyRegularFile(path: string, label: string): Promise; export declare function readBoundedOwnerOnlyFile(path: string, maxBytes: number, label: string): Promise; export declare function readBoundedOwnerOnlyFileWithStats(path: string, maxBytes: number, label: string): Promise<{ readonly text: string; readonly bytes: number; }>; export declare function syncDirectory(path: string): Promise; //# sourceMappingURL=continuation-store-fs.d.ts.map