declare namespace denostd { export namespace hash { export namespace sha1 { export class HmacSha1 extends Sha1 { #private; constructor(secretKey: Message, sharedMemory?: boolean); protected finalize(): void; } export type Message = string | number[] | ArrayBuffer; export 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 { } } } }