import React from "react";
import { IRequired2FAModel } from "../type";
interface OTPHandlerProps {
    isOpen: boolean;
    onSubmit: (otp: string, secret?: string, type?: string) => void;
    onClose: () => void;
    notificationError?: (message?: string) => void;
    otpData?: IRequired2FAModel;
    sendEndpoint: string;
    email?: string;
    phone?: string;
}
export declare const OTPHandler: React.FC<OTPHandlerProps>;
export {};
