import * as React from 'react'; import { TextInput, TextInputProps } from 'react-native'; export declare type MDTextInputKeyboardType = 'professional' | 'simple' | 'system'; export declare type MDTextInputRenderKeys = '0' | '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9' | '.'; export interface IMDtextInputProps extends TextInputProps { shuffle?: boolean; okText?: string; type?: MDTextInputKeyboardType; hideDot?: boolean; textRender?: (value: MDTextInputRenderKeys) => string | undefined; } export interface IMDTextInputState { isEditing: boolean; value?: string; } export default class MDTextInput extends React.Component { static defaultProps: { shuffle: boolean; okText: string; type: string; hideDot: boolean; textRender: (value: MDTextInputRenderKeys) => MDTextInputRenderKeys; }; input: TextInput | null; constructor(props: IMDtextInputProps); componentDidMount(): void; componentWillUnmount(): void; componentWillReceiveProps(nextProps: IMDtextInputProps): void; focus(): void; blur(): void; render(): JSX.Element; private renderTexts; private keyboardTypeByType; private renderIos; private renderInput; private renderAndroid; private renderClearButton; private showClearButton; private onFoucs; private onBlur; private onChangeText; }