export declare function encodeBase32(value: Uint8Array): string;
export declare function decodeBase32(value: string): Buffer;
export declare function hotp(secret: string, counter: number, digits?: number): string;
export declare function totp(secret: string, timeMs?: number, stepSeconds?: number): string;
export declare function verifyTotp(secret: string, code: string, timeMs?: number, window?: number): boolean;
export declare function matchTotpCounter(secret: string, code: string, timeMs?: number, window?: number): number | undefined;
export declare function totpUri(input: {
    secret: string;
    account: string;
    issuer?: string;
}): string;
