///
import PropTypes from 'prop-types';
import React from 'react';
import CustomInput from './CustomInput';
import Input from './Input';
import { InputItemPropsType } from './PropsType';
import { Omit } from '../_util/types';
export declare type HTMLInputProps = Omit, 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'defaultValue' | 'type'>;
export interface InputItemProps extends InputItemPropsType, HTMLInputProps {
prefixCls?: string;
prefixListCls?: string;
className?: string;
onErrorClick?: React.MouseEventHandler;
onExtraClick?: React.MouseEventHandler;
}
declare class InputItem extends React.Component {
static defaultProps: {
prefixCls: string;
prefixListCls: string;
type: string;
editable: boolean;
disabled: boolean;
placeholder: string;
clear: boolean;
onChange: () => void;
onBlur: () => void;
onFocus: () => void;
extra: string;
onExtraClick: () => void;
error: boolean;
onErrorClick: () => void;
labelNumber: number;
updatePlaceholder: boolean;
moneyKeyboardAlign: string;
};
static contextTypes: {
antLocale: PropTypes.Requireable;
};
inputRef: Input | CustomInput | null;
private debounceTimeout;
constructor(props: InputItemProps);
componentWillReceiveProps(nextProps: InputItemProps): void;
componentWillUnmount(): void;
onInputChange: (e: React.ChangeEvent) => void;
handleOnChange: (value: string, isMutated?: boolean) => void;
onInputFocus: (value: string) => void;
onInputBlur: (value: string) => void;
onExtraClick: (e: React.MouseEvent) => void;
onErrorClick: (e: React.MouseEvent) => void;
clearInput: () => void;
focus: () => void;
render(): JSX.Element;
}
export default InputItem;