You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
598 B
18 lines
598 B
/**
|
|
* Fill the dynamic segment in the metadata route
|
|
*
|
|
* Example:
|
|
* fillMetadataSegment('/a/[slug]', { params: { slug: 'b' } }, 'open-graph') -> '/a/b/open-graph'
|
|
*
|
|
*/
|
|
export declare function fillMetadataSegment(segment: string, params: any, imageSegment: string): string;
|
|
/**
|
|
* Map metadata page key to the corresponding route
|
|
*
|
|
* static file page key: /app/robots.txt -> /robots.xml -> /robots.txt/route
|
|
* dynamic route page key: /app/robots.tsx -> /robots -> /robots.txt/route
|
|
*
|
|
* @param page
|
|
* @returns
|
|
*/
|
|
export declare function normalizeMetadataRoute(page: string): string;
|
|
|