import { Component } from 'react'; import type { TextAreaProps } from './props'; /** --- category: components --- **/ declare class TextArea extends Component { static readonly componentId = "TextArea"; static allowedProps: readonly (keyof { label: React.ReactNode; id?: string; size?: "small" | "medium" | "large"; layout?: "stacked" | "inline"; autoGrow?: boolean; resize?: "none" | "both" | "horizontal" | "vertical"; width?: string; height?: string; maxHeight?: number | string; messages?: import("@instructure/ui-form-field/v11_6").FormMessage[]; inline?: boolean; placeholder?: string; disabled?: boolean; readOnly?: boolean; required?: boolean; textareaRef?: (textarea: HTMLTextAreaElement | null) => void; defaultValue?: string; value?: string; onChange?: (event: React.ChangeEvent) => void; margin?: import("@instructure/emotion").Spacing; })[]; static defaultProps: { size: string; autoGrow: boolean; resize: string; inline: boolean; messages: never[]; disabled: boolean; readOnly: boolean; layout: string; required: boolean; }; private _listener?; private _request?; private _defaultId; private _textareaResizeListener?; private _debounced?; private _textarea; private _container; private _height?; private _manuallyResized; private _highlightRef; private myObserver; private resizeTimeout?; ref: Element | null; constructor(props: TextAreaProps); componentDidMount(): void; componentDidUpdate(): void; componentWillUnmount(): void; _textareaResize: () => void; autoGrow(): void; grow: () => void; focus(): void; handleChange: (event: React.ChangeEvent) => void; handleContainerRef: (node: HTMLDivElement | null) => void; get minHeight(): string; get invalid(): boolean | undefined; get id(): string; get focused(): boolean; get value(): string; render(): import("@emotion/react/jsx-runtime").JSX.Element; } export default TextArea; export { TextArea }; //# sourceMappingURL=index.d.ts.map