import React from 'react'; import { NativeSyntheticEvent, TextInputKeyPressEventData } from 'react-native'; import { RQTextareaProps } from './index.type'; declare class Input extends React.Component { private RefsInput; value: string; /** * Callback that is called when a key is pressed. * This will be called with `{ nativeEvent: { key: keyValue } }` * where `keyValue` is `'Enter'` or `'Backspace'` for respective keys and * the typed-in character otherwise including `' '` for space. * Fires before `onChange` callbacks. */ onKeyPress: (event: NativeSyntheticEvent) => void; handleInputChange: (value: string) => void; clear: () => void; render(): JSX.Element; } export default Input;