import React from 'react';
import { FormFieldProps } from '../form-field';
import { ValueOf } from '../types';
import './textarea.less';
export declare const TEXTAREA_RESIZE_VALUES: {
    readonly VERTICAL: "vertical";
    readonly HORIZONTAL: "horizontal";
};
export type TextAreaResizeValues = ValueOf<typeof TEXTAREA_RESIZE_VALUES>;
export type TextAreaProps = FormFieldProps & React.ComponentPropsWithoutRef<'textarea'> & {
    useFont?: boolean;
    allowResizing?: boolean | TextAreaResizeValues;
};
/**
 * TextArea component, which supports label, helper text and validation
 * [CAPITALIZATION] Use sentence case for label and placeholder, no colon
 * [CAPITALIZATION] Helper text, in most cases, should be a complete sentence with a period
export function TextArea(props: FormFieldProps) {
 * [CAPITALIZATION] Don't have mixed format in one text block, use sentence case
 */
export declare const TextArea: React.ForwardRefExoticComponent<FormFieldProps & Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & {
    useFont?: boolean | undefined;
    allowResizing?: boolean | TextAreaResizeValues | undefined;
} & React.RefAttributes<HTMLTextAreaElement>>;
