UNPKG

@sentry/nextjs

Version:
8 lines • 472 B
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