/// export interface IHasher { type: string; hash(data: Uint8Array | Buffer): Promise; } export declare function calculateHash(obj: any, hasher: IHasher): Promise;