import { ReactNode } from 'react'; import { FlexProps } from '../flex'; import { InputProps } from '../input'; export interface SerialInputProps extends Omit { separator?: ReactNode | ((index: number) => ReactNode); count?: number; defaultValue?: V[]; value?: V[]; onChange?: (value: V[]) => void; onItemChange?: (value: V, index: number, values: V[]) => void; inputProps?: InputProps; renderInputs?(inputProps: InputProps, index: number): ReactNode; /** * 当前输入框的值长度达到jumpLength时,自动将焦点跳转到下一个输入框, * `0`表示不自动跳转,默认为`1` */ jumpLength?: number; /** 所有输入框完成输入后触发,{@link SerialInputProps.jumpLength}不为`0`时有效 */ onFinish?(value: V[]): void; } export declare const SerialInput: import("react").MemoExoticComponent<({ separator, count, defaultValue, value, onChange, onItemChange, inputProps, renderInputs, jumpLength, onFinish, ...props }: SerialInputProps) => import("@emotion/react/jsx-runtime").JSX.Element>;