declare function isDir(path: string): Promise; export = isDir;