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