/** * Write `content` to `targetPath` with mode 0600, even when `targetPath` * already exists. Uses O_CREAT|O_EXCL on a temp sibling (so the kernel * guarantees permissions at creation, not after a racy chmod) and then * rename(2) into place for atomicity. Readers never see a torn write, * and a crash mid-write leaves either the old file or a stray .tmp * (cleaned by the next attempt or manually) — never a half-written target. */ export declare function atomicWritePrivateFile(targetPath: string, content: string): void; //# sourceMappingURL=fs-atomic.d.ts.map