interface OTPOptions { name: string; keySize: number; codeLength: number; secret: string; epoch: number; timeSlice: number; } export declare class OTP { #private; constructor(options?: Partial); readonly hotp: (counter: number) => Promise; readonly totp: (now: number) => Promise; get name(): string; get secret(): string; get totpURL(): string; get hotpURL(): string; [Symbol.toStringTag](): string; toJSON(): { class: string; } & OTPOptions; static reviveJSON(_: string, val: any): any; static readonly classID = "OTP{@pipobscure}"; static parse(urlstr?: string, options?: Partial): OTP; } export default OTP; export declare function encodeChunk(data: Uint8Array): string; export declare function encode(data: Uint8Array): string; export declare function decodeChunk(data: string[], dest: Uint8Array): void; export declare function decode(data: string): Uint8Array;