interface SentryTrpcMiddlewareOptions { /** Whether to include procedure inputs in reported events. Defaults to `false`. */ attachRpcInput?: boolean; } export interface SentryTrpcMiddlewareArguments { path?: unknown; type?: unknown; next: () => T; rawInput?: unknown; getRawInput?: () => Promise; } type SentryTrpcMiddleware = T extends Promise ? T : Promise; /** * Sentry tRPC middleware that captures errors and creates spans for tRPC procedures. */ export declare function trpcMiddleware(options?: SentryTrpcMiddlewareOptions): (opts: SentryTrpcMiddlewareArguments) => SentryTrpcMiddleware; export {}; //# sourceMappingURL=trpc.d.ts.map