export interface AtomicWriteOptions { /** File mode. Default: the existing file's mode, or the umask default (0666 & ~umask) for a new file. */ mode?: number; } /** Atomically replace `path` with `content`. */ export declare function atomicWriteFile(path: string, content: string | Uint8Array, options?: AtomicWriteOptions): Promise; /** Synchronous atomicWriteFile, for callers that are synchronous. */ export declare function atomicWriteFileSync(path: string, content: string | Uint8Array, options?: AtomicWriteOptions): void; /** * Atomically replace `path`, forcing `mode` (default 0600, for `.env` secrets). * @deprecated Use atomicWriteFile(path, content, { mode }). */ export declare function writeFileAtomic(path: string, content: string | Uint8Array, mode?: number): Promise; //# sourceMappingURL=atomic-write.d.ts.map