import { type TextInput, type TextInputProps } from 'react-native'; export interface RegisterFieldOptions { multiline?: boolean; } export type RegisteredFieldProps = Pick & { ref: (node: TextInput | null) => void; }; export interface EnterToNextResult { registerField: (index: number, options?: RegisterFieldOptions) => RegisteredFieldProps; submit: () => void; } /** * Makes Enter walk a web form field by field and submit from the last one. * Multiline fields keep their newline behavior and are skipped on the way. */ export declare function useEnterToNext(fieldCount: number, onSubmit: () => void): EnterToNextResult; //# sourceMappingURL=use-enter-to-next.d.ts.map