/**@todo * [ ] remove skipVerification props when requestOTP ready */ import React from 'react'; import { OTPInputFieldType, OTPVerificationClassesType } from '../../types'; declare type OTPVerificationProps = { title?: string; onBack?: () => void; whatsAppNumber: string; duration: number; onSignInMethodChange?: () => void; onAutoOptInFailed?: () => void; onLoginFailed?: () => void; onLoginSuccess?: () => void; onErrorMsg?: (msg: string) => void; onCompletedMsg?: (msg: string) => void; onCompleted?: (status: 'success' | 'failed', accountIDs: Array) => void; loadingComponent?: React.ReactNode; OTPLength: number; icons?: { whatsapp?: React.ReactNode; }; type: OTPInputFieldType; classes: OTPVerificationClassesType; skipVerification?: boolean; redirectTo?: string; customLocales?: { loginWithAnotherMethod?: string; }; }; declare const OTPVerification: { ({ title, onBack, onCompleted, duration, onSignInMethodChange, onAutoOptInFailed, onErrorMsg, onCompletedMsg, whatsAppNumber, OTPLength, type, icons, loadingComponent, classes, skipVerification, redirectTo, customLocales, }: OTPVerificationProps): JSX.Element; displayName: string; __docgenInfo: { description: string; displayName: string; props: { title: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onBack: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; whatsAppNumber: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; duration: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onSignInMethodChange: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onAutoOptInFailed: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onLoginFailed: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onLoginSuccess: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onErrorMsg: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onCompletedMsg: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onCompleted: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; loadingComponent: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; OTPLength: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; icons: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; type: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; value: { value: string; }[]; }; }; classes: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; skipVerification: { defaultValue: { value: boolean; }; description: string; name: string; required: boolean; type: { name: string; }; }; redirectTo: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; customLocales: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; }; }; }; export default OTPVerification;