import { FieldPath, FieldValues, RegisterOptions } from 'react-hook-form'; import type * as React from 'react'; export interface HiddenFieldProps extends Omit, 'name' | 'type'> { /** * The field name to register with react-hook-form */ name: FieldPath; /** * Optional register options to pass to react-hook-form's register */ registerOptions?: RegisterOptions; } /** * HiddenField * * A minimal field that only renders a native hidden input and registers it with remix-hook-form. * This avoids any extra DOM wrappers so it won't affect page layout. */ export declare const HiddenField: { ({ name, registerOptions, ref, ...props }: HiddenFieldProps & { ref?: React.Ref; }): import("react/jsx-runtime").JSX.Element; displayName: string; }; export type { HiddenFieldProps as HiddenInputProps }; //# sourceMappingURL=hidden-field.d.ts.map