import type { ComponentProps, ReactNode } from 'react'; import type { FieldSize } from '../internal/Field'; export type TextareaSize = FieldSize; export interface TextareaProps extends ComponentProps<'textarea'> { /** Font size and padding: sm / md / lg. The height follows `rows` and the content. */ size?: TextareaSize; /** Visible label, associated with the textarea. */ label?: ReactNode; /** Help text under the textarea, linked with `aria-describedby`. */ description?: ReactNode; /** Invalid state. A message replaces the description; `true` keeps it. */ error?: ReactNode | boolean; /** Grow with the content (CSS `field-sizing`); `rows` stays the minimum height. */ autoResize?: boolean; } /** Multi-line text field with label, description and error built in. */ export declare function Textarea({ size, label, description, error, autoResize, rows, id, className, style, disabled, required, 'aria-describedby': describedBy, ...rest }: TextareaProps): import("react").JSX.Element;