export default function checkFile(file: string): Promise;