import * as React from 'react'; import Group from './Group'; import Search from './Search'; import TextArea from './TextArea'; import Counter from './Counter'; import { Omit } from '../../utils/type'; export interface InputProps extends Omit, 'size' | 'prefix'> { prefixCls?: string; className?: string; size?: 'large' | 'default' | 'small'; onPressEnter?: React.KeyboardEventHandler; addonBefore?: React.ReactNode; addonAfter?: React.ReactNode; prefix?: React.ReactNode; suffix?: React.ReactNode; } export interface InputRef { input: HTMLInputElement; focus: () => void; blur: () => void; } interface InputInterface extends React.ForwardRefExoticComponent> { Group: typeof Group; Search: typeof Search; TextArea: typeof TextArea; Counter: typeof Counter; } declare const Input: InputInterface; export default Input;