import type { AnyRouter } from '@trpc/server/unstable-core-do-not-import'; import type { CreateTRPCClientOptions } from './internals/TRPCUntypedClient'; import { TRPCUntypedClient } from './internals/TRPCUntypedClient'; export function createTRPCUntypedClient( opts: CreateTRPCClientOptions, ): TRPCUntypedClient { return new TRPCUntypedClient(opts); } export type { CreateTRPCClientOptions, TRPCRequestOptions, } from './internals/TRPCUntypedClient'; export { TRPCUntypedClient } from './internals/TRPCUntypedClient';