export declare function hashFile(file: string, algorithm?: string, encoding?: "base64" | "hex", options?: any): Promise;