import { FocusEvent, HTMLAttributes, ReactNode } from 'react'; import { ShapeType, SizeType, ThemeType } from '../const/types.cjs'; export type InputOTPValidator = (value: string) => boolean; export interface InputOTPRef { focus: (index?: number) => void; blur: () => void; } export interface InputOTPProps extends Omit, "onChange" | "defaultValue" | "defaultChecked"> { value?: string | number; length?: number; type?: "number" | "text"; size?: SizeType; disabled?: boolean; readOnly?: boolean; mask?: boolean; autoFocus?: boolean; separator?: ReactNode; validator?: InputOTPValidator; theme?: ThemeType; shape?: ShapeType; onChange?: (value: string) => void; onComplete?: (value: string) => void; onFocus?: (event: FocusEvent) => void; onBlur?: (event: FocusEvent) => void; } declare const _default: import('react').ForwardRefExoticComponent>; export default _default;