import * as React from 'react';
import { BaseHtmlProps, BaseProps } from "../../../utils/types";
declare type TextareaSize = 'small' | 'regular';
export interface TextareaProps extends BaseProps, BaseHtmlProps<HTMLTextAreaElement> {
    name?: string;
    value?: string;
    size?: TextareaSize;
    defaultValue?: string;
    placeholder?: string;
    rows?: number;
    disabled?: boolean;
    required?: boolean;
    error?: boolean;
    resize?: boolean;
    readOnly?: boolean;
    onChange?: (e: React.ChangeEvent<HTMLTextAreaElement>) => void;
    onClick?: (e: React.MouseEvent<HTMLTextAreaElement>) => void;
    onBlur?: (e: React.FocusEvent<HTMLTextAreaElement>) => void;
    onFocus?: (e: React.FocusEvent<HTMLTextAreaElement>) => void;
}
export declare const Textarea: React.ForwardRefExoticComponent<TextareaProps & React.RefAttributes<HTMLTextAreaElement>>;
export default Textarea;
