securityos/node_modules/next/dist/export/helpers/get-params.d.ts

8 lines
340 B
TypeScript

/**
* Gets the params for the provided page.
* @param page the page that contains dynamic path parameters
* @param pathname the pathname to match
* @returns the matches that were found, throws otherwise
*/
export declare function getParams(page: string, pathname: string): import("../../shared/lib/router/utils/route-matcher").Params;