import { HTTPHeaders, Operation, TRPCLink } from "./types.d-Dmmedc5G.cjs"; import { HTTPLinkBaseOptions } from "./httpUtils.d-BqmeKEGo.cjs"; import { AnyClientTypes, AnyRouter } from "@trpc/server/unstable-core-do-not-import"; //#region src/links/httpLink.d.ts type HTTPLinkOptions = HTTPLinkBaseOptions & { /** * Headers to be set on outgoing requests or a callback that of said headers * @see http://trpc.io/docs/client/headers */ headers?: HTTPHeaders | ((opts: { op: Operation; }) => HTTPHeaders | Promise); }; /** * @see https://trpc.io/docs/client/links/httpLink */ declare function httpLink(opts: HTTPLinkOptions): TRPCLink; //# sourceMappingURL=httpLink.d.ts.map //#endregion export { HTTPLinkOptions, httpLink }; //# sourceMappingURL=httpLink.d-D5qR9haY.d.cts.map