import { Component } from 'omi'; import { StyledProps } from '../common'; import { TdTextareaProps } from './type'; export interface TextareaProps extends TdTextareaProps, StyledProps { } export default class Textarea extends Component { static css: any[]; static propTypes: { allowInputOverMax: BooleanConstructor; autofocus: BooleanConstructor; autosize: BooleanConstructor; disabled: BooleanConstructor; label: ObjectConstructor; maxcharacter: NumberConstructor; maxlength: NumberConstructor; placeholder: StringConstructor; readonly: BooleanConstructor; status: StringConstructor; tips: ObjectConstructor; value: StringConstructor; defaultValue: StringConstructor; enterkeyhint: StringConstructor; }; constructor(); private pValue; isFocused: boolean; eventPropsNames: any; eventProps: any; classPrefix: any; get inputValue(): string; installed(): void; ready(): void; updated(): void; focus: () => void; countCharacters(text: string): number; textArea: Partial>; getTextareaStatus(status: string): string; getTipsStyle(status: string): string; getTextareaIsDisabled(disabled: boolean): string; textareaClassPrefix: string; cls(): string; setHeight(heightObj: any): void; adjustTextareaHeight: () => void; onChange: (e: Event) => void; render(props: TextareaProps): JSX.Element; }