import React, { ComponentType } from 'react'; import { StyleProp, TextStyle, ViewStyle, NativeSyntheticEvent, TextInputChangeEventData, TextInputSelectionChangeEventData, TextInputKeyPressEventData } from 'react-native'; export declare type keyboardType = 'default' | 'number-pad' | 'decimal-pad' | 'numeric' | 'email-address' | 'phone-pad' | 'ascii-capable' | 'numbers-and-punctuation' | 'url' | 'name-phone-pad' | 'twitter' | 'web-search' | 'visible-password'; export declare type autoCapitalize = 'none' | 'words' | 'characters' | 'sentences'; export declare type Props = { readonly autoCapitalize?: autoCapitalize; readonly autoCorrect?: boolean; readonly autoFocus?: boolean; readonly children?: React.ReactNode; readonly defaultValue?: string; readonly disabled?: boolean; readonly error?: string; readonly errorStyle?: StyleProp; readonly iconStyle?: StyleProp<{ color?: string; }>; readonly inputStyle?: StyleProp; readonly keyboardType?: keyboardType; readonly label?: string; readonly labelStyle?: StyleProp; readonly multiline?: boolean; readonly onBlur?: () => void; readonly onChange?: (e: NativeSyntheticEvent) => void; readonly onChangeText?: (text: string) => void; readonly onFocus?: () => void; readonly onKeyPress?: (e: NativeSyntheticEvent) => void; readonly onPressIcon?: () => void; readonly onSelectionChange?: (e: NativeSyntheticEvent) => void; readonly placeholder?: string; readonly rightIcon?: string; readonly secureTextEntry?: boolean; readonly testID?: string; readonly value?: string; readonly wrapperStyle?: StyleProp; }; declare const TextInput: ComponentType; export default TextInput;