import * as React from 'react'; import { InputEvent } from '../../types'; import { TextareaProps } from './props'; export type { TextareaProps }; export interface TextareaState { value?: string; controlled: boolean; } export default class Textarea extends React.Component { static defaultProps: { 'toutiao-selection-end': number; 'toutiao-selection-start': number; 'wechat-selection-end': number; 'wechat-selection-start': number; 'wechat-fixed': boolean; 'wechat-placeholder-class': string; 'wechat-cursor-spacing': number; 'wechat-cursor': number; 'wechat-show-confirm-bar': boolean; 'wechat-adjust-position': boolean; 'wechat-hold-keyboard': boolean; 'wechat-disable-default-padding': boolean; }; state: TextareaState; constructor(props: TextareaProps); componentDidUpdate(): void; handleInput: (e: InputEvent) => any; render(): React.DetailedReactHTMLElement; }