import { RouteHandlerContext } from './types';
/**
 * Wraps a Next.js route handler with performance and error instrumentation.
 */
export declare function wrapRouteHandlerWithSentry<F extends (...args: any[]) => any>(routeHandler: F, context: RouteHandlerContext): (...args: Parameters<F>) => ReturnType<F> extends Promise<unknown> ? ReturnType<F> : Promise<ReturnType<F>>;
//# sourceMappingURL=wrapRouteHandlerWithSentry.d.ts.map
