export declare class TempDir { #private; private constructor(); static createSync(prefix?: string): TempDir; static create(prefix?: string): Promise; path(): string; absolute(): string; remove(): Promise; removeSync(): void; toString(): string; join(...paths: string[]): string; [Symbol.asyncDispose](): Promise; [Symbol.dispose](): void; } /** Removes a path recursively, retrying transient Windows deletion failures. */ export declare function removeWithRetries(target: string): Promise; export declare function removeSyncWithRetries(target: string): void;