import { type Control } from "https://deno.land/x/netzo@0.4.72/deps/react-hook-form.ts";
Type Parameters
optional
TFieldValues extends FieldValues = FieldValuesdefinition: { _subjects: Subjects<TFieldValues>; _removeUnmounted: Noop; _names: Names; _state: { mount: boolean; action: boolean; watch: boolean; }; _reset: UseFormReset<TFieldValues>; _options: UseFormProps<TFieldValues, TContext>; _getDirty: GetIsDirty; _resetDefaultValues: Noop; _formState: FormState<TFieldValues>; _updateValid: (shouldUpdateValid?: boolean) => void; _updateFormState: (formState: Partial<FormState<TFieldValues>>) => void; _fields: FieldRefs; _formValues: FieldValues; _proxyFormState: ReadFormState; _defaultValues: Partial<DefaultValues<TFieldValues>>; _getWatch: WatchInternal<TFieldValues>; _updateFieldArray: BatchFieldArrayUpdate; _getFieldArray: <TFieldArrayValues>(name: InternalFieldName) => Partial<TFieldArrayValues>[]; _executeSchema: (names: InternalFieldName[]) => Promise<{ errors: FieldErrors; }>; register: UseFormRegister<TFieldValues>; handleSubmit: UseFormHandleSubmit<TFieldValues>; unregister: UseFormUnregister<TFieldValues>; getFieldState: UseFormGetFieldState<TFieldValues>; setError: UseFormSetError<TFieldValues>; }