import type { AuthsignalResponse, VerifyInput, VerifyResponse } from './types';
interface ConstructorArgs {
    tenantID: string;
    baseURL: string;
    enableLogging: boolean;
}
interface EnrollTotpResponse {
    uri: string;
    secret: string;
}
export declare class AuthsignalTotp {
    tenantID: string;
    baseURL: string;
    enableLogging: boolean;
    constructor({ tenantID, baseURL, enableLogging }: ConstructorArgs);
    enroll(): Promise<AuthsignalResponse<EnrollTotpResponse>>;
    verify({ code, }: VerifyInput): Promise<AuthsignalResponse<VerifyResponse>>;
    private ensureModuleIsInitialized;
    private handleError;
}
export {};
//# sourceMappingURL=totp.d.ts.map