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; export declare function createMetadataExportsCode(metadata: Awaited>): string;