export declare function ensureDirectory(path: string): void; export declare function assertNoSymlinkEscape(home: string, target: string): void; export declare function atomicWriteFile(path: string, content: string, mode?: number): void; /** Atomically replace rebuildable derived data without forcing it to stable storage. */ export declare function atomicWriteDerivedFile(path: string, content: string, mode?: number): void; export declare function isTransientSharingError(error: unknown): boolean; export declare function readJsonFile(path: string): unknown; //# sourceMappingURL=fs-utils.d.ts.map