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