import React, { ReactElement } from 'react';
import { ITextInputProps } from './types';
declare function TextInput({ className, style, placeholder, id, maxLength, type, value, prefix, suffix, disabled, readOnly, allowClear, mask, maskOptions, autoComplete, onChange, onPressEnter, onClick, onPaste, ...rest }: ITextInputProps): ReactElement;
declare namespace TextInput {
    var TextArea: React.FC<import("antd/lib/input").TextAreaProps>;
    var Password: React.FC<import("antd/lib/input").PasswordProps>;
    var OTP: React.ForwardRefExoticComponent<import("antd/lib/input/OTP").OTPProps & React.RefAttributes<import("antd/lib/input/OTP").OTPRef>>;
}
export default TextInput;
