import type { RouteHandlerContext } from './types'; /** * Wraps a Next.js App Router Route handler with Sentry error and performance instrumentation. * * NOTICE: This wrapper is for App Router API routes. If you are looking to wrap Pages Router API routes use `wrapApiHandlerWithSentry` instead. */ export declare function wrapRouteHandlerWithSentry any>(routeHandler: F, context: RouteHandlerContext): (...args: Parameters) => ReturnType extends Promise ? ReturnType : Promise>; //# sourceMappingURL=wrapRouteHandlerWithSentry.d.ts.map