/// <reference types="@types/react" />
import React, { DetailedHTMLProps, InputHTMLAttributes, ReactElement } from 'react';
import './TextField.scss';
type HTMLInputProps = DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>;
interface TextFieldProps extends Omit<HTMLInputProps, 'onChange'> {
    label?: string;
    icon?: ReactElement;
    loading?: boolean;
    id?: string;
    value: string;
    onChange: (value: string) => void;
}
declare const TextField: React.ForwardRefExoticComponent<Omit<TextFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
export default TextField;
