import * as React from 'react'; export declare const INPUT_TYPE_TEXT = "text"; export declare const INPUT_TYPE_SEARCH = "search"; export declare type TTextInputType = 'text' | 'search'; export declare type TValue = string | number; interface IState { isPassword?: boolean; isPasswordOriginal: boolean; } export interface IInputProps { className?: string; disabled?: boolean; errorText?: string; isWaiting?: boolean; isPassword?: boolean; placeholder?: string; textAlignRight?: boolean; value?: TValue; onFocus?: (e: any) => void; onBlur?: (e: any) => void; onKeyPress?: (e: any) => void; onKeyDown?: (e: any) => void; onKeyUp?: (e: any) => void; onClick?: (e: any) => void; onClear?: (e: any) => void; onChange?: (value: string, e: object) => void; onSubmit?: () => void; getRef?: (input: HTMLElement) => void; clearable?: boolean; type?: TTextInputType; incremental?: boolean; fullWidth?: boolean; name?: string; maxLength?: number; iconId?: string; readOnly?: boolean; autocomplete?: string; } export declare class TextInput extends React.PureComponent { static defaultProps: IInputProps; input: HTMLInputElement | null; constructor(props: IInputProps); onChange: (e: React.FormEvent) => void; clear: (e?: any) => void; togglePassword: () => void; render(): JSX.Element; private onSubmit; private onClickIcon; private defineRef; } export {};