import * as React from 'react'; import { KeyboardTypeOptions, TextStyle, ViewStyle } from 'react-native'; declare type MDInputItemType = 'text' | 'bank-card' | 'password' | 'phone' | 'money' | 'digit'; declare type MDInputItemAlign = 'left' | 'center' | 'right'; declare type MDInputItemSize = 'large' | 'normal'; export interface IMDInputItemProps { styles?: IMDInputItemStyles; name?: string; title?: string; brief?: React.ReactNode; error?: React.ReactNode; left?: React.ReactNode; right?: React.ReactNode; value?: string; placeholder?: string; maxLength?: number; type?: MDInputItemType | KeyboardTypeOptions; size?: MDInputItemSize; align?: MDInputItemAlign; amount?: boolean; readonly?: boolean; disabled?: boolean; highlight?: boolean; material?: boolean; clearable?: boolean; formative?: boolean; numberKeyboard?: boolean; keyboardShuffle?: boolean; keyboardOKText?: string; onChangeText?: (name: string | undefined, text: string) => void; onFocus?: (name?: string) => void; onBlur?: (name?: string) => void; onConfirm?: (name: string | undefined, value: string) => void; } interface IMDInputItemState { value: string; oldValue: string; currentValue: string; highlight: boolean; } interface IMDInputItemStyles { container?: ViewStyle; wrapper?: ViewStyle; inputText?: TextStyle; titleText?: TextStyle; errorText?: TextStyle; briefText?: TextStyle; } export declare const MDInputItemStyles: IMDInputItemStyles; export default class MDInputItem extends React.Component { static defaultProps: { styles: IMDInputItemStyles; type: string; size: string; align: string; amount: boolean; readonly: boolean; disabled: boolean; highlight: boolean; material: boolean; clearable: boolean; numberKeyboard: boolean; }; constructor(props: IMDInputItemProps); private inputRef; render(): JSX.Element; focus(): void; blur(): void; getValue(): string; private renderBrief; private renderContent; private renderInput; private renderMaterialInput; private renderNormalInput; private keyboardTypeByType; private handleChangeText; private inputMaxLength; private subValue; private formatValue; } export {};