import { BinaryToTextEncoding } from "crypto"; declare function md5(data: string, digest?: BinaryToTextEncoding): string; declare function sha256(data: string, digest?: BinaryToTextEncoding): string; declare function hmacSha256(data: string, digest?: BinaryToTextEncoding): string; declare function hmacSha256WithKey(key: string, data: string, digest?: BinaryToTextEncoding): string; declare function base64(data: string): string; declare function base64Decode(data: string): string; declare function toHex(data: number | string): string; declare function hexToStr(data: string): string; declare function hexToNumber(data: string): number; export declare const hashUtils: { md5: typeof md5; sha256: typeof sha256; base64: typeof base64; base64Decode: typeof base64Decode; hmacSha256: typeof hmacSha256; toHex: typeof toHex; hexToStr: typeof hexToStr; hexToNumber: typeof hexToNumber; hmacSha256WithKey: typeof hmacSha256WithKey; }; export {}; //# sourceMappingURL=util.hash.d.ts.map