import * as React from 'react'; import { TextInput as RNTextInput, TextInputProps as RNTextInputProps } from 'react-native'; export declare type TextInputProps = RNTextInputProps & { labelComponent: JSX.Element; labelPosition?: 'beforeInput' | 'afterInput'; nextFormField?: React.RefObject; id?: string; nextFieldId?: string; hasValidation: boolean; errorComponent?: JSX.Element; hasError?: boolean; errorPosition?: 'belowLabel' | 'afterInput'; errorMessage?: string; }; export declare const TextInput: React.ForwardRefExoticComponent | undefined; id?: string | undefined; nextFieldId?: string | undefined; hasValidation: boolean; errorComponent?: JSX.Element | undefined; hasError?: boolean | undefined; errorPosition?: "afterInput" | "belowLabel" | undefined; errorMessage?: string | undefined; } & React.RefAttributes>;