import type { AnyRouter, inferProcedureInput, inferProcedureOutput, inferSubscriptionOutput } from '@trpc/server'; import { Unsubscribable } from '@trpc/server/observable'; import { inferTransformedProcedureOutput } from '@trpc/server/shared'; import { TRPCClientError } from './TRPCClientError'; import { CreateTRPCClientOptions, TRPCRequestOptions, TRPCSubscriptionObserver } from './internals/TRPCUntypedClient'; import { TRPCClientRuntime } from './links'; /** * @deprecated */ export interface TRPCClient { readonly runtime: TRPCClientRuntime; query>(path: TPath, input?: TInput, opts?: TRPCRequestOptions): Promise>; mutation>(path: TPath, input?: TInput, opts?: TRPCRequestOptions): Promise>; subscription, TInput extends inferProcedureInput>(path: TPath, input: TInput, opts: TRPCRequestOptions & Partial>>): Unsubscribable; } /** * @deprecated use `createTRPCProxyClient` instead */ export declare function createTRPCClient(opts: CreateTRPCClientOptions): TRPCClient; //# sourceMappingURL=createTRPCClient.d.ts.map