import React from "react";
export interface TextInputProps extends React.InputHTMLAttributes<HTMLInputElement> {
    type?: "text" | "password";
    defaultValue?: string;
    value?: string;
    icon?: React.ElementType | React.JSXElementConstructor<any>;
    error?: boolean;
    errorMessage?: string;
    disabled?: boolean;
}
declare const TextInput: React.ForwardRefExoticComponent<TextInputProps & React.RefAttributes<HTMLInputElement>>;
export default TextInput;
