export declare function fileExists(path: string, mode?: number): Promise; export declare function fileExistsSync(path: string, mode?: number): boolean;