export declare function toBase32(a: Uint8Array): string;
export type GenOptions = {
    masterSecret: string;
    platform: string;
    account: string;
    version?: number;
    prefix?: string;
    suffix?: string;
    lengthTarget?: number;
    normalize?: boolean;
};
export type HmacFunction = (a: string, b: string) => Uint8Array;
export declare function normalizePlatform(a: string): string;
export declare function genPassword(g: GenOptions): string;
