import { NativeElementPropsWithoutKeyAndRef } from '../utils/jsx-types'; export interface ModalBodyForVerificationProps extends Omit, 'onChange'> { /** * Whether to auto focus the first input when mounted. * @default true */ autoFocus?: boolean; /** * Whether the inputs are disabled. * @default false */ disabled?: boolean; /** * Whether the inputs are in error state. * @default false */ error?: boolean; /** * Number of verification code digits. * @default 4 */ length?: number; /** * Called when verification code changes. */ onChange?: (value: string) => void; /** * Called when all digits are filled. */ onComplete?: (value: string) => void; /** * Called when resend link is clicked. */ onResend?: () => void; /** * Whether the inputs are readonly. * @default false */ readOnly?: boolean; /** * Prompt text before resend link. * @default "收不到驗證碼?" */ resendPrompt?: string; /** * Resend link text. * @default "點此重新寄送" */ resendText?: string; /** * Current verification code value. */ value?: string; } /** * The react component for verification code input in modal. */ declare const ModalBodyForVerification: import("react").ForwardRefExoticComponent>; export default ModalBodyForVerification;