next
Version:
The React Framework
12 lines (11 loc) • 540 B
TypeScript
import type { NextConfig } from '../../../../server/config-shared';
import type { PageExtensions } from '../../../page-extensions-type';
export declare function createAppRouteCode({ appDir, name, page, pagePath, resolveAppRoute, pageExtensions, nextConfigOutput, }: {
appDir: string;
name: string;
page: string;
pagePath: string;
resolveAppRoute: (pathname: string) => Promise<string | undefined> | string | undefined;
pageExtensions: PageExtensions;
nextConfigOutput: NextConfig['output'];
}): Promise<string>;