type HashOptions = { modules?: { [moduleName: string]: any; }; crypto?: { onEnd?: (result: { hash: string; }) => any; }; }; /** Abstract hash base class */ export declare abstract class Hash { abstract readonly name: string; abstract readonly options: HashOptions; constructor(options?: HashOptions); preload(): Promise; abstract hash(arrayBuffer: ArrayBuffer, encoding: 'hex' | 'base64'): Promise; hashBatches(asyncIterator: AsyncIterable | Iterable, encoding?: 'hex' | 'base64'): AsyncIterable; protected concatenate(asyncIterator: any): Promise; } export {}; //# sourceMappingURL=hash.d.ts.map