import * as react from 'react'; import { ChangeEvent, CSSProperties } from 'react'; type TextareaSize = "sm" | "md" | "lg"; interface TextareaProps { value?: string; defaultValue?: string; onChange?: (value: string, event: ChangeEvent) => void; placeholder?: string; size?: TextareaSize; invalid?: boolean; disabled?: boolean; /** Visible rows at rest (also the auto-grow floor). Default 3. */ rows?: number; /** Grow with content up to maxRows instead of scrolling. Default true. */ autoGrow?: boolean; /** Auto-grow ceiling; beyond it the textarea scrolls. Default 12. */ maxRows?: number; className?: string; style?: CSSProperties; autoFocus?: boolean; id?: string; name?: string; maxLength?: number; "aria-label"?: string; } declare const Textarea: react.ForwardRefExoticComponent>; export { Textarea, type TextareaProps, type TextareaSize };