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; displayName: string; __docgenInfo: { description: string; displayName: string; props: { brandName: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; loginRedirectPath: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; minNumberLength: { defaultValue: { value: number; }; description: string; name: string; required: boolean; type: { name: string; }; }; OTPDuration: { defaultValue: { value: number; }; description: string; name: string; required: boolean; type: { name: string; }; }; OTPLength: { defaultValue: { value: number; }; description: string; name: string; required: boolean; type: { name: string; }; }; OTPTitle: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; OTPType: { defaultValue: { value: string; }; description: string; name: string; required: boolean; type: { name: string; value: { value: string; }[]; }; }; step: { defaultValue: { value: string; }; description: string; name: string; required: boolean; type: { name: string; value: { value: string; }[]; }; }; onStepChange: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onCompleted: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onSignInMethodChange: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onRequestOTPFailed: { 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; }; }; classes: { defaultValue: { value: string; }; description: string; name: string; required: boolean; type: { name: string; }; }; inputPlaceholder: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onRedirectToTnC: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onRedirectToPrivacyPolicy: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; icons: { defaultValue: { value: string; }; description: string; name: string; required: boolean; type: { name: string; }; }; loadingComponent: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; onAnotherMethodClick: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; useFakeRequest: { defaultValue: null; description: string; name: string; required: boolean; type: { name: string; }; }; customLocales: { defaultValue: { value: string; }; description: string; name: string; required: boolean; type: { name: string; }; }; }; }; }; export default WhatsAppOTPInput;