import type { RmOptions } from "node:fs"; export interface RemovePathRetryOptions { attempts?: number; baseDelayMs?: number; rmOptions?: RmOptions; removeFn?: (targetPath: string, options: RmOptions) => Promise; sleepFn?: (ms: number) => Promise; } export declare function removePathWithRetry(targetPath: string, options?: RemovePathRetryOptions): Promise; export declare function isTransientFsError(error: unknown): boolean;