import { PropsWithChildren, type ComponentRef, ForwardRefExoticComponent, RefAttributes } from 'react'; import { TextInputProps, TextInput } from 'react-native'; /** * Props for the TextField component. * * Extends React Native's `TextInputProps`, omitting `onChangeText` because the * component manages value changes internally via the form context. * * @public */ export interface TextFieldProps extends Omit { /** The form field name used to read and write the value in the form context. */ fieldName?: string; } /** * A form-connected text input component. * * Reads and writes its value through the nearest {@link FormView} form context * using `fieldName`. `onChangeText` is managed internally; do not pass it as a * prop. All other standard `TextInputProps` (e.g. `placeholder`, `secureTextEntry`) * are forwarded to the underlying `StyledTextInput`. * * @example * ```tsx * * * * * ``` * * @public */ declare const TextField: ForwardRefExoticComponent & RefAttributes>>; export default TextField; //# sourceMappingURL=TextField.d.ts.map