export declare function exists(filePath: string): Promise; export declare function unzip(file: string, dest: string): Promise; export declare function rmDir(dirPath: string, removeSelf?: boolean): Promise; export declare function resolveRuntimeVersion(versionOrChannel: string): Promise; export declare function first(arr: T[], func: (x: T, i: number, r: T[]) => boolean): T | null; export declare function resolveDir(base: string, paths: string[]): Promise;