export declare function readJsonFile(filePath: string): Promise; export declare function writeJsonAtomic(filePath: string, value: unknown, options?: { mode?: number; trailingNewline?: boolean; ensureDirMode?: number; }): Promise; export declare function writeTextAtomic(filePath: string, content: string, options?: { mode?: number; ensureDirMode?: number; appendTrailingNewline?: boolean; }): Promise; export declare function createAsyncLock(): (fn: () => Promise) => Promise;