import { a as WithTRPCSSROptions, i as WithTRPCNoSSROptions, n as TRPCPrepassProps, o as withTRPC, r as WithTRPCConfig, t as TRPCPrepassHelper } from "./withTRPC-DywCxFfq.cjs"; import { AnyRouter, ProtectedIntersection } from "@trpc/server/unstable-core-do-not-import"; import { CreateReactUtils, DecorateRouterRecord, TRPCUseQueries, TRPCUseSuspenseQueries } from "@trpc/react-query/shared"; import { NextPageContext } from "next/types"; //#region src/createTRPCNext.d.ts /** * @internal */ export interface CreateTRPCNextBase { /** * @deprecated renamed to `useUtils` and will be removed in a future tRPC version * * @see https://trpc.io/docs/v11/client/react/useUtils */ useContext(): CreateReactUtils; /** * @see https://trpc.io/docs/v11/client/react/useUtils */ useUtils(): CreateReactUtils; withTRPC: ReturnType>; useQueries: TRPCUseQueries; useSuspenseQueries: TRPCUseSuspenseQueries; } /** * @internal */ export type CreateTRPCNext = ProtectedIntersection, DecorateRouterRecord>; export declare function createTRPCNext(opts: WithTRPCNoSSROptions | WithTRPCSSROptions): CreateTRPCNext; //#endregion export { TRPCPrepassHelper, TRPCPrepassProps, WithTRPCConfig, WithTRPCNoSSROptions, WithTRPCSSROptions, withTRPC }; //# sourceMappingURL=index.d.cts.map