/** Controls retry timing for transient filesystem removal failures. */ export interface RetryRemoveOptions { maxRetries?: number; retryDelayMs?: number; } type RemoveImplementation = (path: string, options: { force: boolean; recursive: boolean; }) => Promise; type SleepImplementation = (delayMs: number) => Promise; /** * Recursively removes a tree while tolerating short-lived Windows file locks. * Other failures are surfaced immediately so smoke/release gates do not hide * genuine filesystem problems. */ export declare function removeTreeWithRetries(path: string, options?: RetryRemoveOptions, remove?: RemoveImplementation, sleep?: SleepImplementation): Promise; declare function isRetryableRemoveError(error: unknown): boolean; /** Exposes removal classification helpers for focused tests. */ export declare const retryRemoveInternals: { readonly isRetryableRemoveError: typeof isRetryableRemoveError; }; export {};