import React, { DetailedHTMLProps, FocusEventHandler, InputHTMLAttributes } from 'react'; export type OTPInputProps = DetailedHTMLProps, HTMLInputElement> & { error?: boolean; }; export type OTPProps = Omit & { valueLength?: number; value?: string | number; onChange?: (value: string | number) => void; onBlur?: FocusEventHandler; type?: 'password' | 'text' | 'number'; otpShareProps?: Partial; }; export declare const OTP: React.ForwardRefExoticComponent & { valueLength?: number; value?: string | number; onChange?: (value: string | number) => void; onBlur?: FocusEventHandler; type?: 'password' | 'text' | 'number'; otpShareProps?: Partial; }, "ref"> & React.RefAttributes>;