import React from 'react'; import { dataAttr } from './constants'; import { StatusContextProps } from '../FormField/StatusContext'; import { InputAreaProps, InputAreaState } from './InputArea.types'; /** * General inputArea container. */ declare class InputAreaComponent extends React.PureComponent { textArea: HTMLTextAreaElement | null; _computedStyle: CSSStyleDeclaration | null; private _defaultLineHeight?; state: { focus: boolean; focusVisible: boolean; counter: number; computedRows: number | undefined; }; static MIN_ROWS: number; static MAX_ROWS: number; static displayName: string; static defaultProps: InputAreaProps; _getDataAttr: ({ statusContext }: { statusContext: StatusContextProps; }) => Partial<{ [dataAttr.SIZE]: import("./InputArea.types").InputAreaSize | undefined; [dataAttr.STATUS]: import("..").StatusType | null | undefined; [dataAttr.DISABLED]: boolean; [dataAttr.RESIZABLE]: boolean; [dataAttr.HOVER]: boolean; [dataAttr.FOCUS]: boolean; }>; componentDidMount(): void; componentDidUpdate(prevProps: InputAreaProps): void; componentWillUnmount(): void; render(): React.JSX.Element; focus: () => void; blur: () => void; select: () => void; calculateComputedRows: () => void; _onFocus: (e?: React.FocusEvent) => void; _onBlur: (e: React.FocusEvent) => void; _onKeyDown: (e: React.KeyboardEvent) => void; _onChange: (e: React.ChangeEvent) => void; _onInput: () => void; _updateComputedStyle: import("lodash").DebouncedFuncLeading<() => void>; _getComputedStyle: () => CSSStyleDeclaration | null; _getRowsCount: () => number; _getDefaultLineHeight: () => number | undefined; } type InputArea = InputAreaComponent; declare const InputArea: React.ForwardRefExoticComponent> & import("hoist-non-react-statics").NonReactStatics; export { InputArea }; //# sourceMappingURL=InputArea.d.ts.map