import type { RmCallback, RmOptions } from './types.js'; /** * Remove a file or directory asynchronously with Windows-friendly defaults. * * This is NOT a strict ponyfill - it provides enhanced behavior: * - Default maxRetries: 10 on Windows, 0 on POSIX * - Exponential backoff (1.2 factor) instead of linear * - EPERM chmod fix before retry on Windows * * Use this for CI/test cleanup where Windows file locking is common. * For strict Node.js fs.rm compatibility, use rm instead. */ declare function safeRm(path: string, callback: RmCallback): void; declare function safeRm(path: string, options: RmOptions, callback: RmCallback): void; export default safeRm;