export default function checkEmpty(dir: any): Promise;