import React, { FC } from 'react';
import { FormSizesType, SizeType } from '../../util/global-props';
import { IconPropsType } from '../icon/icon.component';
import { iconMap } from '../icon/icon.library';
import './textarea.component.scss';
export declare type TextAreaPropsType = {
    className?: string;
    value?: string;
    defaultValue?: string;
    placeholder?: string;
    icon?: keyof typeof iconMap;
    iconColor?: IconPropsType['color'];
    after?: React.ReactNode;
    before?: React.ReactNode;
    size?: FormSizesType;
    flex?: number;
    margin?: SizeType;
    style?: React.CSSProperties;
    autoSize?: boolean;
    minRows?: number;
    maxRows?: number;
    autoFocus?: boolean;
    disabled?: boolean;
    fullWidth?: boolean;
    transparent?: boolean;
    readOnly?: boolean;
    required?: boolean;
    onChange?: React.ChangeEventHandler<HTMLTextAreaElement>;
    onClick?: React.MouseEventHandler<HTMLTextAreaElement>;
    onFocus?: React.FocusEventHandler<HTMLTextAreaElement>;
    onBlur?: React.FocusEventHandler<HTMLTextAreaElement>;
    onKeyDown?: React.KeyboardEventHandler<HTMLTextAreaElement>;
    onKeyPress?: React.KeyboardEventHandler<HTMLTextAreaElement>;
    onKeyUp?: React.KeyboardEventHandler<HTMLTextAreaElement>;
};
export declare const TextArea: FC<TextAreaPropsType>;
