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