import { Component } from 'react'; import { TextInputProps as RNTextInputProps } from 'react-native'; import { IconProps } from './icon'; export interface TextInputProps extends RNTextInputProps { /** Enable/Disable the input */ disabled?: boolean; /** Mark the input as valid/invalid (only affect styles) */ invalid?: boolean; /** Props of an icon to display on the left */ iconLeft?: IconProps; } interface TextInputState { focused: boolean; } export declare class TextInput extends Component { constructor(props: TextInputProps); private readonly inputRef; private get input(); blur(): void | null; clear(): void | null; focus(): void | null; isFocused(): boolean | null; setNativeProps(nativeProps: object): void | null; private onBlur; private onFocus; render(): JSX.Element; } export {};