/**
* crypto
* 用于为文件生成校验码
*/
///
import { Readable } from "stream";
import { Buffer } from "../deps/deno.land/std@0.165.0/node/internal/buffer";
type algorithmType = "sha512" | "md5";
type Encoding = "base64" | "base64url" | "hex";
export declare const checksumFile: (path: string, algorithm: algorithmType, encoding?: Encoding) => Promise;
export declare function checksum(input: string | Buffer | Uint8Array | Readable, algorithm: string, encoding?: Encoding): Promise;
export {};