export declare function withTempDir(prefix: string, run: (dir: string) => Promise): Promise;