import { type InputProps } from './Input.tsx';
export interface OTCInputProps extends Omit<InputProps, 'action' | 'maxLength' | 'onInput' | 'render' | 'type' | 'unit'> {
    /** @default 'number' */
    type?: 'text' | 'number' | undefined;
    /** @default 6 */
    length?: number | undefined;
    /** @default 'one-time-code' */
    autoComplete?: InputProps['autoComplete'] | undefined;
    /**
     * Return `true` or the passed string (potentially transformed, e.g. uppercased) if valid, or
     * anything falsy if not.
     */
    onInput?: (characterOrPastedString: string, atIndex: number) => string | boolean | void;
}
export declare function OTCInput({ ref: passedRef, type, length: passedLength, value: controlledValue, defaultValue, onChange, onInput, autoComplete, className, ...props }: OTCInputProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=OTCInput.d.ts.map