import * as React from 'react'; import { ImageStyle, StyleProp, TextInput as RNTextInput, TextInputProps as RNTextInputProps, TextStyle, ViewStyle } from 'react-native'; export type TextInputProps = RNTextInputProps & { unitHeight?: number; /** * Style of the container. This property can mainly change the display or hiding, position, size, background color, style, etc. */ containerStyle?: StyleProp; /** * Enable clear button. * * Default is `false`. */ enableClearButton?: boolean; /** * Enable show password. */ enableShowPassword?: boolean; /** * Clear button container style. */ clearButtonContainerStyle?: StyleProp; /** * Clear button style. */ clearButtonStyle?: StyleProp; /** * Password button style. */ passwordButtonStyle?: StyleProp; /** * Password button container style. */ passwordButtonContainerStyle?: StyleProp; /** * Callback notification when clear button is pressed. */ onClear?: () => void; /** * Statistics settings for the text input component. */ statistics?: { /** * Current word count. */ count: number; /** * Callback notification when word count changes. */ onCountChange?: (count: number) => void; /** * The maximum number of characters that can be entered. */ maxCount: number; /** * Style of the text. */ textStyles?: StyleProp; }; }; /** * Mainly solves the multi-line problem of the native `RNTextInput` android platform. */ export declare const TextInput: React.ForwardRefExoticComponent; /** * Enable clear button. * * Default is `false`. */ enableClearButton?: boolean; /** * Enable show password. */ enableShowPassword?: boolean; /** * Clear button container style. */ clearButtonContainerStyle?: StyleProp; /** * Clear button style. */ clearButtonStyle?: StyleProp; /** * Password button style. */ passwordButtonStyle?: StyleProp; /** * Password button container style. */ passwordButtonContainerStyle?: StyleProp; /** * Callback notification when clear button is pressed. */ onClear?: () => void; /** * Statistics settings for the text input component. */ statistics?: { /** * Current word count. */ count: number; /** * Callback notification when word count changes. */ onCountChange?: (count: number) => void; /** * The maximum number of characters that can be entered. */ maxCount: number; /** * Style of the text. */ textStyles?: StyleProp; }; } & React.RefAttributes>; //# sourceMappingURL=TextInput.d.ts.map