/// <reference types="node" resolution-mode="require"/>
import fs from "fs";
export declare function checkFile(filename: fs.PathLike, hash: string, algorithm?: string): Promise<boolean>;
