import type { FetcherWithComponents, SubmitFunction, SubmitOptions } from "react-router"; import { useFetcher } from "react-router"; type SubmitTarget = Parameters["0"]; /** * Submits a HTML `
` to the server without reloading the page. */ type DebounceSubmitFunction = ( /** * Specifies the `` to be submitted to the server, a specific * `