export declare function rmdir(dir: string): Promise<{}>;