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