import type { CSSProperties, HTMLAttributes, ReactNode, Ref, TextareaHTMLAttributes } from "react";
import type { TextFieldContainerOptions } from "./TextFieldContainer";
export declare type TextAreaResize = "none" | "auto" | "horizontal" | "vertical" | "both";
export interface TextAreaProps extends TextareaHTMLAttributes, TextFieldContainerOptions {
/**
* An id to apply to the text area. This is required for a11y.
*/
id: string;
/**
* The value to use for the text field. This will make the component
* controlled and require the `onChange` prop to be provided as well otherwise
* this will act as a read only text field.
*/
value?: string;
/**
* The default value for the text field which will make it uncontrolled. If
* you manually change the `defaultValue` prop, the input's value **will not
* change** unless you provide a different `key` as well. Use the `value` prop
* instead for a controlled input.
*/
defaultValue?: string;
/**
* An optional floating label to use for the text field. This should really
* only be used when the `theme` prop is not set to `"none"`. This will be
* wrapped in the `