import type { ChangeEventHandler, FocusEventHandler, Ref } from 'react';
import React from 'react';
import type SvgIcon from '../SvgIcon/SvgIcon';
import type { TextInputColor, TextInputSize, TextInputVariant } from '../TextInput/styles';
export type TextProps = {
    clearable?: boolean;
    color: TextInputColor;
    dataSet?: Record<string, string | undefined>;
    defaultValue?: string;
    defaultDisplayValue?: string;
    disabled?: boolean;
    endAdornment?: typeof SvgIcon | string;
    error?: boolean;
    helperText?: string;
    inputRef?: Ref<HTMLInputElement>;
    inMenu?: boolean;
    displayRef?: Ref<HTMLInputElement>;
    label: string;
    name?: string;
    onBlur?: FocusEventHandler<HTMLInputElement>;
    onChange?: ChangeEventHandler<HTMLInputElement>;
    onFocus?: FocusEventHandler<HTMLInputElement>;
    size?: TextInputSize;
    startAdornment?: typeof SvgIcon | string;
    variant?: TextInputVariant;
};
declare const _default: React.ForwardRefExoticComponent<TextProps & {
    children?: React.ReactNode;
} & React.RefAttributes<HTMLDivElement>>;
export default _default;
