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