import { default as React } from 'react'; import { ShapeType, SizeType, ThemeType } from '../const/types.js'; import { IconType } from '../icon/index.js'; export interface InputProps extends Omit, "size" | "prefix" | "onChange" | "defaultValue" | "defaultChecked"> { clearable?: boolean; visiblePasswordIcon?: boolean; size?: SizeType; value?: string | number | readonly string[]; icon?: IconType[]; suffix?: React.ReactNode; prefix?: React.ReactNode; addonBefore?: React.ReactNode; addonAfter?: React.ReactNode; theme?: ThemeType; shape?: ShapeType; onSearch?: (value: string) => void; onIconClick?: (e: React.MouseEvent) => void; onClear?: () => void; onChange?: (value: string) => void; } export interface InputRef { focus: () => void; blur: () => void; } interface InputBaseProps extends InputProps { stylePrefix?: "input" | "input-number"; controls?: React.ReactNode; } /** Shared implementation. Deliberately absent from the public component barrel. */ declare const InputBase: React.ForwardRefExoticComponent>; export default InputBase;