/// export type OpFn = (data: Buffer) => Buffer; export type HashInst = { digest: OpFn; }; export type HashLike = OpFn | HashInst; export declare function isHashFn(x: any): x is OpFn; export declare function isHashInst(x: any): x is HashInst;