import * as React from 'react'; export type TextareaState = 'completed' | 'error' | 'warning'; export type TextareaResize = 'none' | 'vertical' | 'horizontal' | 'both'; declare const textareaStyles: (props?: ({ state?: "error" | "warning" | "completed" | null | undefined; resize?: "none" | "both" | "horizontal" | "vertical" | null | undefined; } & import("class-variance-authority/types").ClassProp) | undefined) => string; export interface TextareaProps extends Omit, 'size'> { /** Visual state. `error` also sets `aria-invalid`. */ state?: TextareaState; /** * Resize handle behavior, mapped straight onto the CSS `resize` property. * @default 'vertical' */ resize?: TextareaResize; } /** * Multi-line text field. * * Form-library agnostic, like {@link Input}: a native `