export declare type Message = string | number[] | ArrayBuffer; export declare class Sha1 { #private; constructor(sharedMemory?: boolean); protected init(sharedMemory: boolean): void; update(message: Message): this; protected finalize(): void; private hash; hex(): string; toString(): string; digest(): number[]; array(): number[]; arrayBuffer(): ArrayBuffer; } export declare class HmacSha1 extends Sha1 { #private; constructor(secretKey: Message, sharedMemory?: boolean); protected finalize(): void; }