import * as React from 'react'; import type { BaseUIComponentProps } from "../../internals/types.js"; import type { OTPFieldRootState } from "../root/OTPFieldRoot.js"; /** * An individual OTP character input. * Renders an `` element. * * Documentation: [Base UI OTP Field](https://base-ui.com/react/components/otp-field) */ export declare const OTPFieldInput: React.ForwardRefExoticComponent & React.RefAttributes>; export interface OTPFieldInputState extends Omit { /** * Whether this input contains a character. */ filled: boolean; /** * The input index. */ index: number; /** * The character rendered in this slot. */ value: string; } export interface OTPFieldInputProps extends BaseUIComponentProps<'input', OTPFieldInputState, React.ComponentPropsWithRef<'input'>> {} export declare namespace OTPFieldInput { type State = OTPFieldInputState; type Props = OTPFieldInputProps; }