import { h as FetchEsque } from "./types-DO-GCB2q.mjs";
import { n as TransformerOptions } from "./unstable-internals-CNoyg7Yf.mjs";
import { AnyClientTypes, CombinedDataTransformer, Maybe, ProcedureType } from "@trpc/server/unstable-core-do-not-import";
//#region src/links/internals/httpUtils.d.ts
/**
 * The options every HTTP link takes.
 * @internal
 */
type HTTPLinkBaseOptions<TRoot extends Pick<AnyClientTypes, 'transformer'>> = {
  /** The URL of your tRPC endpoint, such as `http://localhost:3000/trpc`. */
  url: string | URL;
  /**
   * The `fetch` to use, if not the global one.
   */
  fetch?: FetchEsque;
  /**
   * Sends every call as a POST, whatever its type. The server must set
   * `allowMethodOverride: true`.
   * @see https://trpc.io/docs/rpc#overriding-the-default-http-method
   */
  methodOverride?: 'POST';
} & TransformerOptions<TRoot>;
//#endregion
export { HTTPLinkBaseOptions as t };
//# sourceMappingURL=httpUtils-v7O5xeam.d.mts.map