import { Base16 } from "../Base16"; import { Base64 } from "../Base64"; import { Algorithm as DigesterAlgorithm } from "./Algorithm"; export declare class Digester { readonly algorithm: Digester.Algorithm; get length(): number; constructor(algorithm: Digester.Algorithm); digest(data: string, base: 16): Promise; digest(data: string, base: Base64.Standard): Promise; digest(data: Uint8Array): Promise; } export declare namespace Digester { export import Algorithm = DigesterAlgorithm; }