interface AtomicWriteHooks { /** Internal fault-injection seam; production callers never pass this. */ beforeCommit?: () => Promise; } /** * Commit a complete file body without exposing a truncated destination. * * The temp file lives beside the destination so rename stays on one * filesystem. A failed pre-commit write leaves the original untouched. */ export declare function atomicWriteFile(requestedPath: string, content: string, hooks?: AtomicWriteHooks): Promise; export {}; //# sourceMappingURL=atomic-write-file.d.ts.map