@sentry/nextjs
Version:
Official Sentry SDK for Next.js
8 lines • 472 B
TypeScript
import type { Client } from '@sentry/core';
/** Instruments the Next.js app router for navigation. */
export declare function appRouterInstrumentNavigation(client: Client): void;
/**
* A handler for Next.js' `onRouterTransitionStart` hook in `instrumentation-client.ts` to record navigation spans in Sentry.
*/
export declare function captureRouterTransitionStart(href: string, navigationType: string): void;
//# sourceMappingURL=appRouterRoutingInstrumentation.d.ts.map