import * as fs from "node:fs"; export interface AtomicRenameOptions { platform?: NodeJS.Platform; maxAttempts?: number; renameSync?: typeof fs.renameSync; sleep?: (milliseconds: number) => void; } /** * Replace a file atomically, retrying only transient Windows sharing violations. * The hard attempt cap keeps the synchronous loop bounded even if wall time moves * backward or is frozen. */ export declare function renameAtomicWithRetry(tmp: string, filePath: string, options?: AtomicRenameOptions): void; //# sourceMappingURL=atomic-rename.d.ts.map