11 lines
588 B
TypeScript
11 lines
588 B
TypeScript
import type { CollectingMetadata } from './types';
|
|
import type { MetadataResolver } from '../next-app-loader';
|
|
export declare function createStaticMetadataFromRoute(resolvedDir: string, { segment, metadataResolver, isRootLayoutOrRootPage, pageExtensions, basePath, }: {
|
|
segment: string;
|
|
metadataResolver: MetadataResolver;
|
|
isRootLayoutOrRootPage: boolean;
|
|
pageExtensions: string[];
|
|
basePath: string;
|
|
}): Promise<CollectingMetadata | null>;
|
|
export declare function createMetadataExportsCode(metadata: Awaited<ReturnType<typeof createStaticMetadataFromRoute>>): string;
|