import { DisclosureItem, Hasher } from '../types'; export declare class Disclosure { private salt; private key?; private value; private _digest; constructor(salt: string, value: unknown, key?: string); static fromString(s: string): Disclosure; static fromArray(item: DisclosureItem): Disclosure; get encoded(): string; get decoded(): DisclosureItem; digest(hasher: Hasher): Promise; toString(): string; }