import * as React from 'react'; import { IButton } from '.'; export interface IOtpResendProps extends IButton { componentType: 'button' | 'text-only'; resendWaitDuration: number; autoSendOnMount: boolean; manualManageCountDown: boolean; otpVerifying: boolean; onPreResend: () => Promise; onSendRequested: (type: string) => void; onReadyResend: () => void; textVariant: 'default' | 'timer'; previouslySent: boolean; otpType: 'sms' | 'email'; isDisplayContactSupport?: boolean; sendCodeString?: string; resendCodeString?: string; resendCodeInString?: string; smsType?: string; } interface IState { resendCount: number; remainingSeconds: number; shouldShowContactSupport: boolean; showResendCount: number; } export declare class OtpResend extends React.Component { private timerRef; static defaultProps: { componentType: string; resendWaitDuration: number; autoSendOnMount: boolean; manualManageCountDown: boolean; onPreResend: null; otpVerifying: boolean; onSendRequested: () => null; onReadyResend: () => null; type: string; size: string; variant: string; color: string; href: undefined; disabled: boolean; loading: boolean; onPress: () => undefined; textVariant: string; previouslySent: boolean; otpType: string; isDisplayContactSupport: boolean; sendCodeString: string; resendCodeString: string; resendCodeInString: string; smsType: string; }; constructor(props: IOtpResendProps); componentDidMount(): void; render(): React.JSX.Element | null; private startContactSupportTimer; startCountDown: () => void; private requestSendOtp; private restartTimer; private pretty_print_time; private str_pad_left; } export {};