import { Path } from "./file-core.dist"; export declare function getTmpDir(prefix?: string): Path; export declare function getDirName(url: URL): string; export declare function mkdir(...fragments: string[]): Path; export declare function rimraf(path?: string): Promise; export declare function withTmpDir(fn: (path: string) => T, { remove, prefix }?: { remove?: boolean; prefix?: string; }): T; export declare function withTmpFile(fn: (path: string) => T): T; //# sourceMappingURL=file-util.d.ts.map