export type TemporaryDirectory = { path: string; cleanup(): Promise; }; export declare function createTemporaryDirectory(prefix: string): Promise;