@sentry/nextjs
Version:
Official Sentry SDK for Next.js
14 lines • 586 B
TypeScript
import type { RouteManifest } from '../../config/manifest/types';
/**
* Get and cache the route manifest from the global object.
* @returns The parsed route manifest or null if not available/invalid.
*/
export declare function getManifest(): RouteManifest | null;
/**
* Parameterize a route using the route manifest.
*
* @param route - The route to parameterize.
* @returns The parameterized route or undefined if no parameterization is needed.
*/
export declare const maybeParameterizeRoute: (route: string) => string | undefined;
//# sourceMappingURL=parameterization.d.ts.map