import React from 'react'; import { OTPInputFieldType, WhatsAppInputClassesType, WhatsAppOTPStepType } from './types'; declare type WhatsAppOTPInputPropsType = { brandName: string; loginRedirectPath?: string; minNumberLength?: number; OTPDuration?: number; OTPLength?: number; OTPTitle?: string; OTPType?: OTPInputFieldType; step?: WhatsAppOTPStepType; onStepChange?: (step: WhatsAppOTPStepType | 'email') => void; onCompleted?: (status: 'success' | 'failed') => void; onSignInMethodChange?: () => void; onRequestOTPFailed?: () => void; onAutoOptInFailed?: () => void; onLoginFailed?: () => void; onLoginSuccess?: () => void; onErrorMsg?: (msg: string) => void; onCompletedMsg?: (msg: string) => void; classes?: WhatsAppInputClassesType; inputPlaceholder?: string; onRedirectToTnC?: () => void; onRedirectToPrivacyPolicy?: () => void; icons?: { whatsapp?: React.ReactNode; account?: React.ReactNode; back?: React.ReactNode; }; loadingComponent?: React.ReactNode; onAnotherMethodClick?: () => void; useFakeRequest?: boolean; customLocales?: { continue?: string; disclaimer?: string; inputWhatsApp?: string; loginWithAnotherMethod?: string; chooseAnyAccountToLogin?: string; }; }; declare const WhatsAppOTPInput: ({ step, minNumberLength, OTPDuration, OTPLength, OTPTitle, OTPType, onErrorMsg, onCompletedMsg, onStepChange, onCompleted, onSignInMethodChange, onRequestOTPFailed, onAutoOptInFailed, onLoginFailed, onLoginSuccess, classes, icons, inputPlaceholder, onAnotherMethodClick, onRedirectToTnC, onRedirectToPrivacyPolicy, brandName, loadingComponent, useFakeRequest, loginRedirectPath, customLocales, }: WhatsAppOTPInputPropsType) => JSX.Element; export default WhatsAppOTPInput;