import * as React from 'react'; import { TextAreaItemPropsType } from './PropsType'; import { Omit } from '../_util/types'; export declare type HTMLTextAreaProps = Omit, 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'defaultValue' | 'type' | 'title'>; export interface TextareaItemProps extends TextAreaItemPropsType, HTMLTextAreaProps { prefixCls?: string; prefixListCls?: string; } declare function noop(): void; export interface TextareaItemState { focus?: boolean; value?: string; } export default class TextareaItem extends React.Component { static defaultProps: { prefixCls: string; prefixListCls: string; autoHeight: boolean; editable: boolean; disabled: boolean; placeholder: string; clear: boolean; rows: number; onChange: typeof noop; onBlur: typeof noop; onFocus: typeof noop; onErrorClick: typeof noop; error: boolean; labelNumber: number; }; textareaRef: any; private debounceTimeout; constructor(props: TextareaItemProps); focus: () => void; componentWillReceiveProps(nextProps: TextareaItemProps): void; componentDidMount(): void; componentDidUpdate(): void; reAlignHeight: () => void; componentWillUnmount(): void; onChange: (e: React.ChangeEvent) => void; onBlur: (e: React.FocusEvent) => void; onFocus: (e: React.FocusEvent) => void; onErrorClick: () => void; clearInput: () => void; render(): JSX.Element; } export {};