/**@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; export default OTPVerification;