/** * Write `data` to `filePath` atomically via a sibling tmp file + fs.rename. * The original file is never in a partially-written state: either the rename * succeeds (new content visible) or it does not (original intact, tmp left on disk). */ export declare function atomicWrite(filePath: string, data: string): Promise;