export interface AtomicWriteOptions { encoding?: BufferEncoding | null; /** Permission bits for the written file. Defaults to the existing regular target's own bits, or 0o600 for a new file. */ mode?: number; overwrite?: boolean; signal?: AbortSignal; /** Synchronous validation after staging is durable, immediately before publishing the target. Throw to discard staging. */ beforeCommit?: () => void; } export declare function atomicWriteFile(target: string, data: string | NodeJS.ArrayBufferView, options?: AtomicWriteOptions): Promise; //# sourceMappingURL=atomic-write.d.ts.map