import type { RmOptions } from './types.js'; /** * Remove a file or directory synchronously 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.rmSync compatibility, use rmSync instead. * * @param path - Path to remove * @param options - Options (with Windows-friendly defaults) */ declare function safeRmSync(path: string, options?: RmOptions): void; export default safeRmSync;