Neah/node_modules/next/dist/export/helpers/get-params.d.ts
2025-04-24 17:19:14 +02:00

8 lines
324 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("../../server/request/params").Params;