export declare function findFile(dir: string, ext: string): Promise;