import { type FormSubmitHandler } from "https://deno.land/x/netzo@0.4.72/deps/react-hook-form.ts";
Type Parameters
TFieldValues extends FieldValues
definition: (payload: { data: TFieldValues; event?: React.BaseSyntheticEvent; formData: FormData; formDataJson: string; method?: "post" | "put" | "delete"; }) => unknown | Promise<unknown>