import { TextInputProps } from './types'; import { NativeSyntheticEvent, TextInputFocusEventData } from 'react-native/types'; export declare function useTextInput(props: Partial): { isFocused: boolean; currentSelection: { start: number; }; secureTextEntry: boolean | undefined; handleBlur: (e: NativeSyntheticEvent) => void; handleFocus: (e: NativeSyntheticEvent) => void; handleMaskChange: (masked: any, unmasked: any) => void; fieldHandle: Partial<{ validation: { onInputBlurred(): void; hasBlurred: boolean; hasChanged: boolean; startedUnset: boolean; isSet: boolean; isInvalid: boolean; isValid: boolean; message: any; showError: boolean; isUnset: boolean; validation: import("@codeleap/form").ValidationResult; value: unknown; }; value: unknown; setValue: (to: unknown) => void; changed: boolean; representation: any; options: import("@codeleap/form").FieldOptions; }> | { validation: { onInputBlurred(): void; hasBlurred: boolean; hasChanged: boolean; startedUnset: boolean; isSet: boolean; isInvalid: boolean; isValid: boolean; message: any; showError: boolean; isUnset: boolean; validation: import("@codeleap/form").ValidationResult; value: V | import("nanostores").StoreValue : never>; }; value: V | import("nanostores").StoreValue : never>; setValue: (to: V) => void; changed: boolean; representation: any; options: import("@codeleap/form").FieldOptions; }; validation: { onInputBlurred(): void; hasBlurred: boolean; hasChanged: boolean; startedUnset: boolean; isSet: boolean; isInvalid: boolean; isValid: boolean; message: any; showError: boolean; isUnset: boolean; validation: import("@codeleap/form").ValidationResult; value: unknown; } | { onInputBlurred(): void; hasBlurred: boolean; hasChanged: boolean; startedUnset: boolean; isSet: boolean; isInvalid: boolean; isValid: boolean; message: any; showError: boolean; isUnset: boolean; validation: import("@codeleap/form").ValidationResult; value: string; } | undefined; innerInputRef: import("react").RefObject; wrapperRef: import("react").RefObject; toggleSecureTextEntry: () => void; hasMultipleLines: boolean | undefined; hasValue: boolean; hasError: string | true | undefined; inputValue: string; onInputValueChange: ((value: string) => void) | undefined; }; //# sourceMappingURL=useTextInput.d.ts.map