import React, { Component, ReactNode } from 'react'; import { TooltipDirection } from './tooltip'; export interface TextAreaProps { disabled?: boolean; error?: boolean; id: string; info?: ReactNode; label: string; maxHeight?: number; required?: boolean; scrollable?: boolean; tooltip?: string | React.ReactElement; tooltipDirection?: TooltipDirection; value: string; textAreaRef?: React.MutableRefObject; } export declare class TextArea extends Component> { static defaultProps: { disabled: boolean; error: boolean; maxHeight: number; required: boolean; scrollable: boolean; textAreaRef: React.RefObject; }; state: { focused: boolean; height: string; }; textareaMeasurer: HTMLTextAreaElement; componentDidMount(): void; componentDidUpdate({ value: previousValue }: TextAreaProps): void; calculateHeight: () => string; setFocused: () => void; setBlurred: () => void; render(): React.JSX.Element; } export default TextArea;