import React, { ReactNode } from 'react';
import { BadgeProps } from '../../components';
import { Style } from 'inlines';
export type TextInputProps = {
    value?: string;
    defaultValue?: string;
    onChange?: (value: string) => void;
    onFocus?: () => void;
    onBlur?: (value: string) => void;
    disabled?: boolean;
    placeholder?: ReactNode;
    prefix?: BadgeProps;
    suffix?: BadgeProps;
    icon?: React.ReactNode;
    style?: Style;
    afterIcon?: React.ReactNode;
    clearButton?: boolean;
    error?: boolean;
    message?: ReactNode;
    password?: boolean;
    maxLength?: number;
    autoFocus?: boolean;
};
export declare function TextInput({ prefix, suffix, icon, style, value: valueProp, defaultValue: defaultValueProp, onChange: onChangeProp, onFocus, onBlur, clearButton, afterIcon, disabled, placeholder, error, password, maxLength, autoFocus, }: TextInputProps): React.JSX.Element;
