export interface ToTpGeneratorOptions { digits?: number; period?: number; algorithm?: "SHA-1" | "SHA-256" | "SHA-512"; label?: string; secretLength?: number; issuer: string; } export interface ToTpSecretAndUrl { url: string; secret: string; } export declare class TotpChecker { static ValidateTotp(totpSecret: string | null, code: string | undefined): Promise; static EncodeBase32(input: Buffer): string; static GenerateCode(optionsOrIssuer: ToTpGeneratorOptions | string): ToTpSecretAndUrl; } //# sourceMappingURL=totpChecker.d.ts.map