import * as React from 'react'; import { InputPropsType } from './PropsType'; import { Omit } from '../_util/types'; export declare type HTMLInputProps = Omit, 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'defaultValue' | 'type' | 'size' | 'label'>; export interface InputProps extends InputPropsType, HTMLInputProps { prefixCls?: string; className?: string; } declare function noop(): void; declare class Input extends React.Component { static Item: any; static defaultProps: { prefixCls: string; type: string; readOnly: boolean; disabled: boolean; placeholder: string; allowClear: boolean; onChange: typeof noop; onBlur: typeof noop; onFocus: typeof noop; }; static getDerivedStateFromProps(nextProps: InputProps): { value: string | undefined; } | null; inputRef: Input | null; private debounceTimeout; constructor(props: InputProps); componentWillUnmount(): void; onInputChange: (e: React.ChangeEvent) => void; handleOnChange: (value: string, isMutated?: boolean, adjustPos?: Function) => void; onInputFocus: (value: string) => void; onInputBlur: (value: string) => void; clearInput: () => void; focus: () => void; render(): JSX.Element; } export default Input;