import "../../index.d-D4qZxQJh.mjs"; import { AnyRouter, CreateContextCallback, HTTPBaseHandlerOptions, TRPCRequestInfo, inferRouterContext } from "../../unstable-core-do-not-import.d-BdVSvUCr.mjs"; import "../../index.d-vq_QHko2.mjs"; //#region src/adapters/fetch/types.d.ts type FetchCreateContextFnOptions = { req: Request; resHeaders: Headers; info: TRPCRequestInfo; }; type FetchCreateContextFn = (opts: FetchCreateContextFnOptions) => inferRouterContext | Promise>; type FetchCreateContextOption = CreateContextCallback, FetchCreateContextFn>; type FetchHandlerOptions = FetchCreateContextOption & HTTPBaseHandlerOptions & { req: Request; endpoint: string; }; type FetchHandlerRequestOptions = HTTPBaseHandlerOptions & CreateContextCallback, FetchCreateContextFn> & { req: Request; endpoint: string; }; //# sourceMappingURL=types.d.ts.map //#endregion //#region src/adapters/fetch/fetchRequestHandler.d.ts declare function fetchRequestHandler(opts: FetchHandlerRequestOptions): Promise; //# sourceMappingURL=fetchRequestHandler.d.ts.map //#endregion export { FetchCreateContextFn, FetchCreateContextFnOptions, FetchCreateContextOption, FetchHandlerOptions, FetchHandlerRequestOptions, fetchRequestHandler }; //# sourceMappingURL=index.d.mts.map