import "../../index.d-BiUz7kM_.cjs"; import { AnyRouter, CreateContextCallback, HTTPBaseHandlerOptions, TRPCRequestInfo, inferRouterContext } from "../../unstable-core-do-not-import.d-Dh9CT5RO.cjs"; import "../../index.d-CvZXeEyR.cjs"; //#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.cts.map