UNPKG

@clipstake/view-tracking

Version:

A tRPC-based view tracking service with client for Next.js apps

19 lines 856 B
import type { Router } from "../server"; export interface CreateClientOptions { url: string; } export declare function createClient(options: CreateClientOptions): import("@trpc/client").TRPCClient<import("@trpc/server/unstable-core-do-not-import").BuiltRouter<{ ctx: import("@trpc/server/adapters/aws-lambda").CreateAWSLambdaContextOptions<import("aws-lambda").APIGatewayProxyEvent | import("aws-lambda").APIGatewayProxyEventV2>; meta: object; errorShape: import("@trpc/server/unstable-core-do-not-import").DefaultErrorShape; transformer: false; }, import("@trpc/server/unstable-core-do-not-import").DecorateCreateRouterOptions<{ greet: import("@trpc/server").TRPCQueryProcedure<{ input: { name: string; }; output: string; }>; }>>>; export type { Router }; //# sourceMappingURL=index.d.ts.map