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