@kasperpeulen/vitest-plugin-nextjs 0.0.0-stage → 0.1.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (256) hide show
  1. package/README.md +249 -2
  2. package/dist/_virtual/_rolldown/runtime.js +14 -0
  3. package/dist/action-ids.d.ts +18 -0
  4. package/dist/action-ids.js +44 -0
  5. package/dist/adapter.d.ts +8 -0
  6. package/dist/adapter.js +12 -0
  7. package/dist/app-requests.d.ts +63 -0
  8. package/dist/app-requests.js +253 -0
  9. package/dist/browser-context.d.ts +24 -0
  10. package/dist/browser-context.js +157 -0
  11. package/dist/build-output.d.ts +68 -0
  12. package/dist/build-output.js +216 -0
  13. package/dist/build.d.ts +26 -0
  14. package/dist/build.js +39 -0
  15. package/dist/built-files.d.ts +9 -0
  16. package/dist/built-files.js +22 -0
  17. package/dist/cache.d.ts +44 -0
  18. package/dist/cache.js +99 -0
  19. package/dist/client-components.d.ts +3 -0
  20. package/dist/client-components.js +4 -0
  21. package/dist/client-file-key.d.ts +5 -0
  22. package/dist/client-file-key.js +5 -0
  23. package/dist/client-files.d.ts +83 -0
  24. package/dist/client-files.js +186 -0
  25. package/dist/client-graph.d.ts +94 -0
  26. package/dist/client-graph.js +266 -0
  27. package/dist/client-modules.d.ts +10 -0
  28. package/dist/client-modules.js +43 -0
  29. package/dist/client.d.ts +42 -0
  30. package/dist/client.js +263 -0
  31. package/dist/commonjs.d.ts +44 -0
  32. package/dist/commonjs.js +111 -0
  33. package/dist/compat/browser/client.d.ts +19 -0
  34. package/dist/compat/browser/client.js +13 -0
  35. package/dist/compat/build.d.ts +145 -0
  36. package/dist/compat/build.js +149 -0
  37. package/dist/compat/checks.d.ts +16 -0
  38. package/dist/compat/checks.js +148 -0
  39. package/dist/compat/patches.d.ts +13 -0
  40. package/dist/compat/patches.js +30 -0
  41. package/dist/compat/paths.d.ts +74 -0
  42. package/dist/compat/paths.js +160 -0
  43. package/dist/compat/rsc/handlers.d.ts +2 -0
  44. package/dist/compat/rsc/handlers.js +2 -0
  45. package/dist/compat/rsc/prerender.d.ts +10 -0
  46. package/dist/compat/rsc/prerender.js +9 -0
  47. package/dist/compat/server/headers.d.ts +3 -0
  48. package/dist/compat/server/headers.js +3 -0
  49. package/dist/compat/ssr/build-output.d.ts +4 -0
  50. package/dist/compat/ssr/build-output.js +3 -0
  51. package/dist/compat/ssr/cache.d.ts +6 -0
  52. package/dist/compat/ssr/cache.js +6 -0
  53. package/dist/compat/ssr/handler.d.ts +8 -0
  54. package/dist/compat/ssr/handler.js +8 -0
  55. package/dist/compat/ssr/node-server.d.ts +5 -0
  56. package/dist/compat/ssr/node-server.js +4 -0
  57. package/dist/compat/ssr/render-errors.d.ts +4 -0
  58. package/dist/compat/ssr/render-errors.js +4 -0
  59. package/dist/compat/ssr/senders.d.ts +6 -0
  60. package/dist/compat/ssr/senders.js +6 -0
  61. package/dist/compat/types.d.ts +8 -0
  62. package/dist/compat/types.js +1 -0
  63. package/dist/compile.d.ts +39 -0
  64. package/dist/compile.js +175 -0
  65. package/dist/disk.d.ts +16 -0
  66. package/dist/disk.js +13 -0
  67. package/dist/document-loads.d.ts +15 -0
  68. package/dist/document-loads.js +53 -0
  69. package/dist/document.d.ts +79 -0
  70. package/dist/document.js +330 -0
  71. package/dist/downloads.d.ts +15 -0
  72. package/dist/downloads.js +71 -0
  73. package/dist/esm-require.d.ts +11 -0
  74. package/dist/esm-require.js +32 -0
  75. package/dist/fast-crypto/index.js +1093 -0
  76. package/dist/fast-crypto.d.ts +20 -0
  77. package/dist/fast-crypto.js +151 -0
  78. package/dist/flight.d.ts +19 -0
  79. package/dist/flight.js +42 -0
  80. package/dist/form-submission.d.ts +15 -0
  81. package/dist/form-submission.js +27 -0
  82. package/dist/from-page.d.ts +5 -0
  83. package/dist/from-page.js +44 -0
  84. package/dist/globals.d.ts +1 -0
  85. package/dist/globals.js +197 -0
  86. package/dist/host-document.d.ts +26 -0
  87. package/dist/host-document.js +34 -0
  88. package/dist/host-return-shared.d.ts +5 -0
  89. package/dist/host-return-shared.js +5 -0
  90. package/dist/host-return.d.ts +5 -0
  91. package/dist/host-return.js +16 -0
  92. package/dist/index.d.ts +280 -0
  93. package/dist/index.js +281 -0
  94. package/dist/internal.d.ts +2 -0
  95. package/dist/internal.js +3 -0
  96. package/dist/leftovers.d.ts +11 -0
  97. package/dist/leftovers.js +55 -0
  98. package/dist/mode.d.ts +169 -0
  99. package/dist/mode.js +31 -0
  100. package/dist/node/LICENSES.md +3540 -0
  101. package/dist/node/assert/strict.js +29 -0
  102. package/dist/node/assert.js +3044 -0
  103. package/dist/node/buffer.js +1499 -0
  104. package/dist/node/child_process.js +45 -0
  105. package/dist/node/cluster.js +85 -0
  106. package/dist/node/console.js +96 -0
  107. package/dist/node/constants.js +495 -0
  108. package/dist/node/crypto.js +1388 -0
  109. package/dist/node/dgram.js +78 -0
  110. package/dist/node/diagnostics_channel.js +122 -0
  111. package/dist/node/dns/promises.js +129 -0
  112. package/dist/node/dns.js +137 -0
  113. package/dist/node/domain.js +43 -0
  114. package/dist/node/events.js +1155 -0
  115. package/dist/node/fs/promises.js +40 -0
  116. package/dist/node/fs.js +10375 -0
  117. package/dist/node/http.js +326 -0
  118. package/dist/node/http2.js +305 -0
  119. package/dist/node/https.js +57 -0
  120. package/dist/node/inspector/promises.js +66 -0
  121. package/dist/node/inspector.js +76 -0
  122. package/dist/node/module.js +205 -0
  123. package/dist/node/net.js +392 -0
  124. package/dist/node/os.js +259 -0
  125. package/dist/node/path/posix.js +25 -0
  126. package/dist/node/path/win32.js +25 -0
  127. package/dist/node/path.js +384 -0
  128. package/dist/node/perf_hooks.js +313 -0
  129. package/dist/node/process.js +452 -0
  130. package/dist/node/punycode.js +178 -0
  131. package/dist/node/querystring.js +934 -0
  132. package/dist/node/readline/promises.js +71 -0
  133. package/dist/node/readline.js +56 -0
  134. package/dist/node/repl.js +44 -0
  135. package/dist/node/sqlite.js +22 -0
  136. package/dist/node/stream/consumers.js +47 -0
  137. package/dist/node/stream/promises.js +6 -0
  138. package/dist/node/stream/web.js +52 -0
  139. package/dist/node/stream.js +4323 -0
  140. package/dist/node/string_decoder.js +276 -0
  141. package/dist/node/sys.js +6 -0
  142. package/dist/node/timers/promises.js +71 -0
  143. package/dist/node/timers.js +133 -0
  144. package/dist/node/tls.js +122 -0
  145. package/dist/node/trace_events.js +23 -0
  146. package/dist/node/tty.js +69 -0
  147. package/dist/node/url.js +1426 -0
  148. package/dist/node/util/types.js +1456 -0
  149. package/dist/node/util.js +4807 -0
  150. package/dist/node/v8.js +160 -0
  151. package/dist/node/vm.js +88 -0
  152. package/dist/node/wasi.js +16 -0
  153. package/dist/node/worker_threads.js +123 -0
  154. package/dist/node/zlib.js +1396 -0
  155. package/dist/node-builtins.d.ts +40 -0
  156. package/dist/node-builtins.js +74 -0
  157. package/dist/node-on-page.d.ts +46 -0
  158. package/dist/node-on-page.js +101 -0
  159. package/dist/node-platform.d.ts +36 -0
  160. package/dist/node-platform.js +152 -0
  161. package/dist/node-rendered.d.ts +21 -0
  162. package/dist/node-rendered.js +26 -0
  163. package/dist/node-server.d.ts +46 -0
  164. package/dist/node-server.js +193 -0
  165. package/dist/not-found-page.d.ts +19 -0
  166. package/dist/not-found-page.js +74 -0
  167. package/dist/optimizer-cache-key.d.ts +26 -0
  168. package/dist/optimizer-cache-key.js +73 -0
  169. package/dist/own-package.d.ts +1 -0
  170. package/dist/own-package.js +6 -0
  171. package/dist/page-store.d.ts +33 -0
  172. package/dist/page-store.js +80 -0
  173. package/dist/page-timers.d.ts +22 -0
  174. package/dist/page-timers.js +47 -0
  175. package/dist/page.d.ts +112 -0
  176. package/dist/page.js +549 -0
  177. package/dist/paths.d.ts +13 -0
  178. package/dist/paths.js +47 -0
  179. package/dist/plugin.d.ts +23 -0
  180. package/dist/plugin.js +1006 -0
  181. package/dist/prerender-verdict.d.ts +8 -0
  182. package/dist/prerender-verdict.js +67 -0
  183. package/dist/project/context.d.ts +546 -0
  184. package/dist/project/context.js +111 -0
  185. package/dist/project/entries.d.ts +42 -0
  186. package/dist/project/entries.js +189 -0
  187. package/dist/project/env-worker.d.ts +1 -0
  188. package/dist/project/env-worker.js +9 -0
  189. package/dist/project/env.d.ts +36 -0
  190. package/dist/project/env.js +82 -0
  191. package/dist/project/layers.d.ts +31 -0
  192. package/dist/project/layers.js +150 -0
  193. package/dist/project/loaders.d.ts +71 -0
  194. package/dist/project/loaders.js +300 -0
  195. package/dist/project/metadata.d.ts +8 -0
  196. package/dist/project/metadata.js +34 -0
  197. package/dist/project/module-exports.d.ts +29 -0
  198. package/dist/project/module-exports.js +77 -0
  199. package/dist/project/routes.d.ts +19 -0
  200. package/dist/project/routes.js +92 -0
  201. package/dist/project/routing.d.ts +46 -0
  202. package/dist/project/routing.js +280 -0
  203. package/dist/project/transform.d.ts +8 -0
  204. package/dist/project/transform.js +110 -0
  205. package/dist/project/webpack.d.ts +65 -0
  206. package/dist/project/webpack.js +191 -0
  207. package/dist/project.d.ts +269 -0
  208. package/dist/project.js +58 -0
  209. package/dist/registry-global.d.ts +5 -0
  210. package/dist/registry-global.js +5 -0
  211. package/dist/registry.d.ts +241 -0
  212. package/dist/registry.js +30 -0
  213. package/dist/route-chunks.d.ts +13 -0
  214. package/dist/route-chunks.js +32 -0
  215. package/dist/route-lookup.d.ts +34 -0
  216. package/dist/route-lookup.js +207 -0
  217. package/dist/routes-ahead-shared.d.ts +17 -0
  218. package/dist/routes-ahead-shared.js +9 -0
  219. package/dist/routes-ahead.d.ts +10 -0
  220. package/dist/routes-ahead.js +54 -0
  221. package/dist/rsc.d.ts +19 -0
  222. package/dist/rsc.js +171 -0
  223. package/dist/server-action.d.ts +9 -0
  224. package/dist/server-action.js +15 -0
  225. package/dist/server-code.d.ts +176 -0
  226. package/dist/server-code.js +357 -0
  227. package/dist/server-in-front.d.ts +37 -0
  228. package/dist/server-in-front.js +90 -0
  229. package/dist/server-layers.d.ts +22 -0
  230. package/dist/server-layers.js +33 -0
  231. package/dist/setup-browser.d.ts +1 -0
  232. package/dist/setup-browser.js +8 -0
  233. package/dist/setup-node.d.ts +1 -0
  234. package/dist/setup-node.js +6 -0
  235. package/dist/setup.d.ts +8 -0
  236. package/dist/setup.js +62 -0
  237. package/dist/speed-features.d.ts +13 -0
  238. package/dist/speed-features.js +95 -0
  239. package/dist/ssr.d.ts +70 -0
  240. package/dist/ssr.js +480 -0
  241. package/dist/static-build.d.ts +36 -0
  242. package/dist/static-build.js +92 -0
  243. package/dist/storage.d.ts +31 -0
  244. package/dist/storage.js +94 -0
  245. package/dist/styles-shared.d.ts +137 -0
  246. package/dist/styles-shared.js +124 -0
  247. package/dist/styles.d.ts +102 -0
  248. package/dist/styles.js +730 -0
  249. package/dist/stylesheet-versions.d.ts +17 -0
  250. package/dist/stylesheet-versions.js +43 -0
  251. package/dist/tester.html +10 -0
  252. package/dist/use-cache.d.ts +15 -0
  253. package/dist/use-cache.js +93 -0
  254. package/dist/vitest-version.d.ts +6 -0
  255. package/dist/vitest-version.js +12 -0
  256. package/package.json +125 -3
@@ -0,0 +1,8 @@
1
+ import { PrerenderVerdict } from "./registry.js";
2
+ import { buildAppStaticPaths } from "./compat/rsc/prerender.js";
3
+
4
+ //#region src/prerender-verdict.d.ts
5
+ type RouteEntry = Parameters<typeof buildAppStaticPaths>[0]["ComponentMod"];
6
+ declare function prerenderVerdictOf(entry: RouteEntry, pathname: string, kind: "page" | "route"): Promise<PrerenderVerdict | undefined>;
7
+ //#endregion
8
+ export { prerenderVerdictOf };
@@ -0,0 +1,67 @@
1
+ import { registry } from "./registry.js";
2
+ import { buildAppStaticPaths, collectRootParamKeys, collectSegments, fallbackModeToFallbackField, isEdgeRuntime, isMetadataRoute, isStaticGenEnabled, isStaticMetadataFile, parseNormalizedAppRoute } from "./compat/rsc/prerender.js";
3
+ import { nextConfig, routing } from "virtual:vitest-plugin-rsc/next-manifest";
4
+ //#region src/prerender-verdict.ts
5
+ const hasNonStaticMethods = (handlers) => Boolean(handlers.POST || handlers.PUT || handlers.DELETE || handlers.PATCH || handlers.OPTIONS);
6
+ async function prerenderVerdictOf(entry, pathname, kind) {
7
+ const { routeModule } = entry;
8
+ const cacheComponents = Boolean(nextConfig.cacheComponents);
9
+ if (kind === "page" && cacheComponents) return void 0;
10
+ if (kind === "route") {
11
+ const routeHandler = routeModule;
12
+ await routeHandler.ensureUserland();
13
+ const userland = routeHandler.userland;
14
+ if (!isStaticGenEnabled(userland) && !isMetadataRoute(`${pathname}/route`) && !cacheComponents) return;
15
+ if (typeof userland.GET !== "function") return void 0;
16
+ if (hasNonStaticMethods(userland)) return void 0;
17
+ }
18
+ const { segments, segmentTree } = await collectSegments(routeModule, {
19
+ cacheComponents,
20
+ partialPrefetching: Boolean(nextConfig.partialPrefetching)
21
+ });
22
+ const configured = (option) => segments.findLast((segment) => segment.config?.[option] !== void 0)?.config?.[option];
23
+ if (isEdgeRuntime(configured("runtime"))) return void 0;
24
+ const route = parseNormalizedAppRoute(pathname);
25
+ if (!(route.dynamicSegments.length > 0)) return { pathnames: [pathname] };
26
+ if (kind === "route" && isStaticMetadataFile(pathname)) return void 0;
27
+ const serverCache = globalThis.__incrementalCache;
28
+ let prerenderedRoutes;
29
+ let fallbackMode;
30
+ try {
31
+ ({prerenderedRoutes, fallbackMode} = await buildAppStaticPaths({
32
+ dir: "/",
33
+ distDir: registry.buildDir(),
34
+ page: pathname,
35
+ route,
36
+ cacheComponents,
37
+ authInterrupts: Boolean(nextConfig.experimental.authInterrupts),
38
+ useCacheTimeout: nextConfig.experimental.useCacheTimeout,
39
+ durableUseCacheEntries: Boolean(nextConfig.experimental.durableUseCacheEntries),
40
+ staticPageGenerationTimeout: nextConfig.staticPageGenerationTimeout,
41
+ segments,
42
+ segmentTree,
43
+ requestHeaders: {},
44
+ isrFlushToDisk: true,
45
+ cacheMaxMemorySize: 0,
46
+ fetchCacheKeyPrefix: `${nextConfig.experimental.fetchCacheKeyPrefix ?? ""}${registry.cacheGeneration()}`,
47
+ cacheLifeProfiles: nextConfig.cacheLife,
48
+ ComponentMod: entry,
49
+ nextConfigOutput: nextConfig.output,
50
+ isRoutePPREnabled: false,
51
+ isEnsureStaticPage: false,
52
+ buildId: routing.buildId,
53
+ deploymentId: nextConfig.deploymentId ?? "",
54
+ rootParamKeys: collectRootParamKeys(routeModule)
55
+ }));
56
+ } finally {
57
+ globalThis.__incrementalCache = serverCache;
58
+ }
59
+ const dynamic = configured("dynamic");
60
+ if (!prerenderedRoutes && dynamic !== "error" && dynamic !== "force-static") return void 0;
61
+ return {
62
+ pathnames: (prerenderedRoutes ?? []).filter((route) => route.isPrerenderOutput !== false).map((route) => route.pathname).filter((path) => path !== pathname),
63
+ fallback: fallbackModeToFallbackField(fallbackMode ?? "NOT_FOUND", pathname)
64
+ };
65
+ }
66
+ //#endregion
67
+ export { prerenderVerdictOf };
@@ -0,0 +1,546 @@
1
+ import { PageEnv } from "./env.js";
2
+ import { Loader } from "./loaders.js";
3
+ import { AppLoaderContext } from "./entries.js";
4
+ import * as _$next_dist_server_lib_incremental_cache_index0 from "next/dist/server/lib/incremental-cache/index.js";
5
+ import * as _$next_dist_shared_lib_router_utils_route_regex0 from "next/dist/shared/lib/router/utils/route-regex.js";
6
+ import * as _$next from "next";
7
+ import * as _$next_dist_build_adapter_build_complete0 from "next/dist/build/adapter/build-complete.js";
8
+ import * as _$next_dist_build_analysis_get_page_static_info0 from "next/dist/build/analysis/get-page-static-info.js";
9
+ import * as _$next_dist_lib_load_custom_routes0 from "next/dist/lib/load-custom-routes.js";
10
+ import * as _$next_dist_server_config_shared0 from "next/dist/server/config-shared.js";
11
+ import * as _$next_dist_shared_lib_image_config0 from "next/dist/shared/lib/image-config.js";
12
+ import * as _$next_dist_compiled_webpack_webpack0 from "next/dist/compiled/webpack/webpack.js";
13
+ import * as _$next_dist_build_webpack_plugins_subresource_integrity_plugin0 from "next/dist/build/webpack/plugins/subresource-integrity-plugin.js";
14
+ import * as _$next_dist_shared_lib_utils0 from "next/dist/shared/lib/utils.js";
15
+ import * as _$next_dist_cli_next_test0 from "next/dist/cli/next-test.js";
16
+ import * as _$next_dist_build_swc_generated_native0 from "next/dist/build/swc/generated-native";
17
+ import * as _$next_dist_build_route_discovery0 from "next/dist/build/route-discovery.js";
18
+ import * as _$next_dist_build_normalize_catchall_routes0 from "next/dist/build/normalize-catchall-routes.js";
19
+ import * as _$next_dist_shared_lib_router_utils_app_paths0 from "next/dist/shared/lib/router/utils/app-paths.js";
20
+ import * as _$next_dist_lib_is_app_route_route0 from "next/dist/lib/is-app-route-route.js";
21
+ import * as _$next_dist_lib_is_app_page_route0 from "next/dist/lib/is-app-page-route.js";
22
+ import * as _$next_dist_shared_lib_router_utils_interception_routes0 from "next/dist/shared/lib/router/utils/interception-routes.js";
23
+ import * as _$next_dist_shared_lib_errors_missing_canonical_interception_routes_error0 from "next/dist/shared/lib/errors/missing-canonical-interception-routes-error.js";
24
+ import * as _$next_dist_shared_lib_errors_incompatible_parallel_route_slots_error0 from "next/dist/shared/lib/errors/incompatible-parallel-route-slots-error.js";
25
+ import * as _$next_dist_shared_lib_errors_unmatched_app_pages_error0 from "next/dist/shared/lib/errors/unmatched-app-pages-error.js";
26
+ import * as _$next_dist_build_define_env0 from "next/dist/build/define-env.js";
27
+ import * as _$next_dist_lib_static_env0 from "next/dist/lib/static-env.js";
28
+ import * as _$next_dist_build_create_compiler_aliases0 from "next/dist/build/create-compiler-aliases.js";
29
+ import * as _$next_dist_lib_needs_experimental_react0 from "next/dist/lib/needs-experimental-react.js";
30
+ import * as _$next_dist_build_load_entrypoint0 from "next/dist/build/load-entrypoint.js";
31
+ import * as _$next_dist_build_swc_index0 from "next/dist/build/swc/index.js";
32
+ import * as _$next_dist_build_swc_options0 from "next/dist/build/swc/options.js";
33
+ import * as _$next_dist_build_load_jsconfig0 from "next/dist/build/load-jsconfig.js";
34
+ import * as _$next_dist_build_webpack_config_blocks_css_loaders_next_font0 from "next/dist/build/webpack/config/blocks/css/loaders/next-font.js";
35
+ import * as _$next_dist_build_webpack_config_blocks_css_plugins0 from "next/dist/build/webpack/config/blocks/css/plugins.js";
36
+ import * as _$next_dist_build_get_supported_browsers0 from "next/dist/build/get-supported-browsers.js";
37
+ import * as _$next_dist_build_webpack_config_blocks_css_loaders_modules0 from "next/dist/build/webpack/config/blocks/css/loaders/modules.js";
38
+ import * as _$next_dist_lib_find_config0 from "next/dist/lib/find-config.js";
39
+ import * as _$next_dist_server_image_optimizer0 from "next/dist/server/image-optimizer.js";
40
+ import * as _$next_dist_lib_generate_interception_routes_rewrites0 from "next/dist/lib/generate-interception-routes-rewrites.js";
41
+ import * as _$next_dist_build_generate_routes_manifest0 from "next/dist/build/generate-routes-manifest.js";
42
+ import * as _$next_dist_lib_bundler0 from "next/dist/lib/bundler.js";
43
+ import * as _$next_dist_lib_get_files_in_dir0 from "next/dist/lib/get-files-in-dir.js";
44
+ import * as _$next_dist_build_get_static_info_including_layouts0 from "next/dist/build/get-static-info-including-layouts.js";
45
+ import * as _$next_dist_build_entries0 from "next/dist/build/entries.js";
46
+
47
+ //#region src/project/context.d.ts
48
+ declare function inDirectory<T>(directory: string, load: () => Promise<T>): Promise<T>;
49
+ /** The file of a module of Next by its path, which may leave out `.js` or `/index.js`. */
50
+ declare function moduleFileAt(base: string): string | undefined;
51
+ /** The project and its `next`, as `openNextProject()` loads them. */
52
+ type NextContext = Awaited<ReturnType<typeof openNextProject>>;
53
+ declare function openNextProject(root: string, projectRequire: NodeJS.Require, options: {
54
+ static?: boolean; /** The file of env-worker.ts. */
55
+ envWorker: string;
56
+ }): Promise<{
57
+ root: string; /** What the page's `process.env` gets, see env.ts. */
58
+ env: PageEnv; /** The env again, as the env files have it now. */
59
+ loadEnv: () => Promise<PageEnv>; /** Finds `next`, and what the project has installed next to it. Not the global one. */
60
+ projectRequire: NodeJS.Require;
61
+ nextDir: string;
62
+ version: string;
63
+ fail: (what: string, cause?: unknown) => never;
64
+ replace: (code: string, piece: string | RegExp, replacement: string, where: string) => string;
65
+ config: {
66
+ images: Partial<_$next_dist_shared_lib_image_config0.ImageConfigComplete> & Required<_$next_dist_shared_lib_image_config0.ImageConfigComplete>;
67
+ i18n: null;
68
+ experimental: {
69
+ cachedNavigations: boolean;
70
+ agentUpgrade?: "security" | "latest" | "experimental-future" | false;
71
+ agentFeedback?: boolean;
72
+ turbopackAdditionalRoots?: Record<string, {
73
+ path: string;
74
+ ignoreIfMissing?: boolean;
75
+ }>;
76
+ outputHashSalt?: string;
77
+ coldCacheBadge?: boolean;
78
+ collapseAdapterRoutes?: boolean;
79
+ useSkewCookie?: boolean;
80
+ cacheHandlers?: _$next.NextConfig["cacheHandlers"];
81
+ multiZoneDraftMode?: boolean;
82
+ appNavFailHandling?: boolean;
83
+ parallelRouteMetadata?: boolean;
84
+ prerenderEarlyExit?: boolean;
85
+ linkNoTouchStart?: boolean;
86
+ caseSensitiveRoutes?: boolean;
87
+ clientParamParsingOrigins?: string[];
88
+ dynamicOnHover?: boolean;
89
+ reactBrowserBailout?: boolean;
90
+ useOffline?: boolean;
91
+ optimisticRouting?: boolean;
92
+ concurrentRouterQueue?: boolean;
93
+ instrumentationClientRouterTransitionEvents?: boolean;
94
+ varyParams?: boolean;
95
+ prefetchInlining?: ((boolean | {
96
+ maxSize?: number;
97
+ maxBundleSize?: number;
98
+ }) & _$next_dist_server_config_shared0.PrefetchInliningConfig) | undefined;
99
+ preloadEntriesOnStart?: boolean;
100
+ clientRouterFilter?: boolean;
101
+ clientRouterFilterRedirects?: boolean;
102
+ staleTimes?: {
103
+ dynamic?: number;
104
+ static?: number;
105
+ };
106
+ cacheLife?: _$next.NextConfig["cacheLife"];
107
+ clientRouterFilterAllowedRate?: number;
108
+ externalMiddlewareRewritesResolve?: boolean;
109
+ externalProxyRewritesResolve?: boolean;
110
+ exposeTestingApiInProductionBuild?: boolean;
111
+ requestInsights?: boolean;
112
+ extensionAlias?: Record<string, any>;
113
+ allowedRevalidateHeaderKeys?: string[];
114
+ fetchCacheKeyPrefix?: string;
115
+ imgOptConcurrency?: number | null;
116
+ imgOptOperationCache?: boolean | null;
117
+ imgOptTimeoutInSeconds?: number;
118
+ imgOptMaxInputPixels?: number;
119
+ imgOptSequentialRead?: boolean | null;
120
+ imgOptMozjpeg?: boolean;
121
+ optimisticClientCache?: boolean;
122
+ expireTime?: number;
123
+ middlewarePrefetch?: "strict" | "flexible";
124
+ proxyPrefetch?: "strict" | "flexible";
125
+ manualClientBasePath?: boolean;
126
+ cssChunking?: _$next_dist_server_config_shared0.CssChunkingConfig;
127
+ devMemoryThresholdRestart?: boolean;
128
+ disablePostcssPresetEnv?: boolean;
129
+ cpus?: number;
130
+ memoryBasedWorkersCount?: boolean;
131
+ proxyTimeout?: number;
132
+ isrFlushToDisk?: boolean;
133
+ workerThreads?: boolean;
134
+ optimizeCss?: boolean | Record<string, unknown>;
135
+ nextScriptWorkers?: boolean;
136
+ scrollRestoration?: boolean;
137
+ externalDir?: boolean;
138
+ disableOptimizedLoading?: boolean;
139
+ gzipSize?: boolean;
140
+ craCompat?: boolean;
141
+ esmExternals?: boolean | "loose";
142
+ fullySpecified?: boolean;
143
+ urlImports?: NonNullable<_$next_dist_compiled_webpack_webpack0.webpack.Configuration["experiments"]>["buildHttp"];
144
+ swcTraceProfiling?: boolean;
145
+ forceSwcTransforms?: boolean;
146
+ swcPlugins?: Array<[string, Record<string, unknown>]>;
147
+ swcEnvOptions?: {
148
+ mode?: "usage" | "entry";
149
+ coreJs?: string;
150
+ skip?: string[];
151
+ include?: string[];
152
+ exclude?: string[];
153
+ shippedProposals?: boolean;
154
+ forceAllTransforms?: boolean;
155
+ debug?: boolean;
156
+ loose?: boolean;
157
+ };
158
+ largePageDataBytes?: number;
159
+ fallbackNodePolyfills?: false;
160
+ sri?: {
161
+ algorithm?: _$next_dist_build_webpack_plugins_subresource_integrity_plugin0.SubresourceIntegrityAlgorithm;
162
+ };
163
+ webVitalsAttribution?: Array<typeof _$next_dist_shared_lib_utils0.WEB_VITALS[number]>;
164
+ optimizePackageImports?: string[];
165
+ optimizeServerReact?: boolean;
166
+ strictRouteTypes?: boolean;
167
+ useTypeScriptCli?: boolean;
168
+ transitionIndicator?: boolean;
169
+ gestureTransition?: boolean;
170
+ turbopackMemoryEviction?: false | "full" | "auto";
171
+ turbopackGc?: boolean | {
172
+ minProgressMs?: number;
173
+ rootTtlMs?: number;
174
+ };
175
+ turbopackPluginRuntimeStrategy?: "workerThreads" | "childProcesses" | "forceWorkerThreads";
176
+ turbopackMinify?: boolean | {
177
+ server?: boolean;
178
+ client?: boolean;
179
+ edge?: boolean;
180
+ };
181
+ turbopackImportTypeBytes?: boolean;
182
+ turbopackScopeHoisting?: boolean;
183
+ turbopackSharedRuntime?: boolean;
184
+ turbopackChunking?: {
185
+ clusters?: RegExp[][];
186
+ firstPageLoadPriority?: number;
187
+ priorityRoutes?: RegExp[];
188
+ priorityBoost?: number;
189
+ requestCost?: number;
190
+ minChunkSize?: number;
191
+ maxChunkCountPerGroup?: number;
192
+ maxMergeChunkSize?: number;
193
+ generateComponentChunks?: boolean;
194
+ minComponentChunkSize?: number;
195
+ };
196
+ turbopackWorkerAssetPrefix?: string;
197
+ turbopackClientSideNestedAsyncChunking?: boolean;
198
+ turbopackServerSideNestedAsyncChunking?: boolean;
199
+ turbopackLazyDynamicImports?: boolean;
200
+ turbopackLazyDynamicImportsSSR?: boolean;
201
+ turbopackFileSystemCacheForDev?: boolean;
202
+ turbopackFileSystemCacheForBuild?: boolean;
203
+ turbopackSeedCacheFromWorktree?: boolean;
204
+ turbopackStaleOutputMaxAge?: number;
205
+ turbopackSourceMaps?: boolean;
206
+ turbopackInputSourceMaps?: boolean;
207
+ turbopackModuleFragments?: boolean;
208
+ turbopackRemoveUnusedImports?: boolean;
209
+ turbopackRemoveUnusedExports?: boolean;
210
+ turbopackInferModuleSideEffects?: boolean;
211
+ turbopackCjsTreeShaking?: boolean;
212
+ turbopackMangleExportNames?: boolean;
213
+ turbopackMangleViaMaterializedNamespaceObject?: boolean;
214
+ turbopackCjsScopeHoisting?: boolean;
215
+ turbopackCrossModuleConstants?: boolean;
216
+ turbopackUseBuiltinBabel?: boolean;
217
+ turbopackUseBuiltinSass?: boolean;
218
+ turbopackLocalPostcssConfig?: boolean;
219
+ turbopackModuleIds?: "named" | "deterministic";
220
+ turbopackServerFastRefresh?: boolean;
221
+ mdxRs?: boolean | {
222
+ development?: boolean;
223
+ jsx?: boolean;
224
+ jsxRuntime?: string;
225
+ jsxImportSource?: string;
226
+ providerImportSource?: string;
227
+ mdxType?: "gfm" | "commonmark";
228
+ };
229
+ typedRoutes?: boolean;
230
+ typedEnv?: boolean;
231
+ parallelServerCompiles?: boolean;
232
+ parallelServerBuildTraces?: boolean;
233
+ webpackBuildWorker?: boolean;
234
+ webpackMemoryOptimizations?: boolean;
235
+ clientTraceMetadata?: string[];
236
+ ppr?: boolean | "incremental";
237
+ taint?: boolean;
238
+ blockingSSR?: boolean;
239
+ removeUncaughtErrorAndRejectionListeners?: boolean;
240
+ validateRSCRequestHeaders?: boolean;
241
+ serverActions?: {
242
+ bodySizeLimit?: _$next.SizeLimit;
243
+ allowedOrigins?: string[];
244
+ };
245
+ maxPostponedStateSize?: _$next.SizeLimit;
246
+ disableResumeDataCacheCompression?: boolean;
247
+ serverMinification?: boolean;
248
+ serverSourceMaps?: boolean;
249
+ useWasmBinary?: boolean;
250
+ useLightningcss?: boolean;
251
+ lightningCssFeatures?: _$next_dist_server_config_shared0.LightningCssFeatures;
252
+ testProxy?: boolean;
253
+ defaultTestRunner?: _$next_dist_cli_next_test0.SupportedTestRunners;
254
+ allowDevelopmentBuild?: true;
255
+ bundlePagesExternals?: boolean;
256
+ serverComponentsExternalPackages?: string[];
257
+ reactDebugChannel?: boolean;
258
+ cacheComponents?: boolean;
259
+ instantInsights: {
260
+ validationLevel?: _$next_dist_server_config_shared0.ValidationLevel;
261
+ } & {
262
+ validationLevel: _$next_dist_server_config_shared0.ValidationLevel;
263
+ };
264
+ devValidationWorker?: boolean;
265
+ staticGenerationRetryCount?: number;
266
+ staticGenerationMaxConcurrency?: number;
267
+ staticGenerationMinPagesPerWorker?: number;
268
+ serverComponentsHmrCache?: boolean;
269
+ serverComponentsHmrCancellation?: boolean;
270
+ inlineCss?: boolean;
271
+ authInterrupts?: boolean;
272
+ useCacheTimeout: number;
273
+ useCache?: boolean;
274
+ durableUseCacheEntries?: boolean;
275
+ useCacheStaticRootParamTracking?: boolean;
276
+ slowModuleDetection?: {
277
+ buildTimeThresholdMs: number;
278
+ };
279
+ globalNotFound?: boolean;
280
+ explicitParallelRouteChildren?: boolean;
281
+ turbopackRustReactCompiler?: boolean;
282
+ browserDebugInfoInTerminal?: boolean | "error" | "warn" | "verbose" | {
283
+ level?: "error" | "warn" | "verbose";
284
+ depthLimit?: number;
285
+ edgeLimit?: number;
286
+ showSourceLocation?: boolean;
287
+ };
288
+ middlewareClientMaxBodySize?: _$next.SizeLimit;
289
+ proxyClientMaxBodySize?: _$next.SizeLimit;
290
+ mcpServer?: boolean;
291
+ exposeRuntimeErrorsToHMR?: boolean;
292
+ lockDistDir?: boolean;
293
+ hideLogsAfterAbort?: boolean;
294
+ runtimeServerDeploymentId?: boolean;
295
+ supportsImmutableAssets?: boolean;
296
+ deferredEntries?: string[];
297
+ onBeforeDeferredEntries?: () => Promise<void>;
298
+ reportSystemEnvInlining?: "error" | "warn";
299
+ turbopackMemoryEvictionMode: _$next_dist_build_swc_generated_native0.MemoryEvictionMode;
300
+ turbopackGcOptions: _$next_dist_build_swc_generated_native0.NapiTurbopackGcOptions | undefined;
301
+ };
302
+ env: Record<string, string | undefined>;
303
+ exportPathMap: (defaultMap: _$next_dist_server_config_shared0.ExportPathMap, ctx: {
304
+ dev: boolean;
305
+ dir: string;
306
+ outDir: string | null;
307
+ distDir: string;
308
+ buildId: string;
309
+ }) => Promise<_$next_dist_server_config_shared0.ExportPathMap> | _$next_dist_server_config_shared0.ExportPathMap;
310
+ typescript: _$next_dist_server_config_shared0.TypeScriptConfig;
311
+ typedRoutes: boolean;
312
+ headers: () => Promise<_$next_dist_lib_load_custom_routes0.Header[]> | _$next_dist_lib_load_custom_routes0.Header[];
313
+ rewrites: () => Promise<_$next_dist_lib_load_custom_routes0.Rewrite[] | {
314
+ beforeFiles?: _$next_dist_lib_load_custom_routes0.Rewrite[];
315
+ afterFiles?: _$next_dist_lib_load_custom_routes0.Rewrite[];
316
+ fallback?: _$next_dist_lib_load_custom_routes0.Rewrite[];
317
+ }> | _$next_dist_lib_load_custom_routes0.Rewrite[] | {
318
+ beforeFiles?: _$next_dist_lib_load_custom_routes0.Rewrite[];
319
+ afterFiles?: _$next_dist_lib_load_custom_routes0.Rewrite[];
320
+ fallback?: _$next_dist_lib_load_custom_routes0.Rewrite[];
321
+ };
322
+ redirects: () => Promise<_$next_dist_lib_load_custom_routes0.Redirect[]> | _$next_dist_lib_load_custom_routes0.Redirect[];
323
+ excludeDefaultMomentLocales: boolean;
324
+ webpack: _$next_dist_server_config_shared0.NextJsWebpackConfig | null;
325
+ trailingSlash: boolean;
326
+ distDir: string;
327
+ cleanDistDir: boolean;
328
+ assetPrefix: string;
329
+ cacheHandler: string;
330
+ cacheHandlers: {
331
+ default?: string;
332
+ remote?: string;
333
+ static?: string;
334
+ [handlerName: string]: string | undefined;
335
+ };
336
+ cacheMaxMemorySize: number;
337
+ useFileSystemPublicRoutes: boolean;
338
+ generateEtags: boolean;
339
+ pageExtensions: string[];
340
+ instrumentationClientInject: string[];
341
+ compress: boolean;
342
+ poweredByHeader: boolean;
343
+ devIndicators: false | {
344
+ position?: "top-left" | "top-right" | "bottom-left" | "bottom-right";
345
+ };
346
+ onDemandEntries: {
347
+ maxInactiveAge?: number;
348
+ pagesBufferLength?: number;
349
+ };
350
+ deploymentId: string;
351
+ supportsImmutableAssets: boolean;
352
+ basePath: string;
353
+ sassOptions: {
354
+ implementation?: string;
355
+ [key: string]: any;
356
+ };
357
+ productionBrowserSourceMaps: boolean;
358
+ reactCompiler: boolean | _$next_dist_server_config_shared0.ReactCompilerOptions;
359
+ reactProductionProfiling: boolean;
360
+ reactStrictMode: boolean | null;
361
+ reactMaxHeadersLength: number;
362
+ httpAgentOptions: {
363
+ keepAlive?: boolean;
364
+ };
365
+ staticPageGenerationTimeout: number;
366
+ crossOrigin: "anonymous" | "use-credentials";
367
+ compiler: {
368
+ reactRemoveProperties?: boolean | {
369
+ properties?: string[];
370
+ };
371
+ relay?: {
372
+ src: string;
373
+ artifactDirectory?: string;
374
+ language?: "typescript" | "javascript" | "flow";
375
+ eagerEsModules?: boolean;
376
+ };
377
+ removeConsole?: boolean | {
378
+ exclude?: string[];
379
+ };
380
+ styledComponents?: boolean | _$next_dist_server_config_shared0.StyledComponentsConfig;
381
+ emotion?: boolean | _$next_dist_server_config_shared0.EmotionConfig;
382
+ styledJsx?: boolean | {
383
+ useLightningcss?: boolean;
384
+ };
385
+ define?: Record<string, string | number | boolean>;
386
+ defineServer?: Record<string, string | number | boolean>;
387
+ runAfterProductionCompile?: (metadata: {
388
+ projectDir: string;
389
+ distDir: string;
390
+ }) => Promise<void>;
391
+ };
392
+ transpilePackages: string[];
393
+ turbopack: _$next_dist_server_config_shared0.TurbopackOptions;
394
+ skipMiddlewareUrlNormalize: boolean;
395
+ skipProxyUrlNormalize: boolean;
396
+ skipTrailingSlashRedirect: boolean;
397
+ logging: _$next_dist_server_config_shared0.LoggingConfig | false;
398
+ enablePrerenderSourceMaps: boolean;
399
+ cacheComponents: boolean;
400
+ partialPrefetching: boolean;
401
+ agentRules: boolean;
402
+ deprecated: _$next_dist_server_config_shared0.DeprecatedConfig;
403
+ bundlePagesRouterDependencies: boolean;
404
+ serverExternalPackages: string[];
405
+ outputFileTracingRoot: string;
406
+ outputFileTracingExcludes: Record<string, string[]>;
407
+ outputFileTracingIncludes: Record<string, string[]>;
408
+ outputHashSalt: string;
409
+ watchOptions: {
410
+ pollIntervalMs?: number;
411
+ };
412
+ htmlLimitedBots: RegExp & string;
413
+ generateBuildId?: (() => string | null | Promise<string | null>) | undefined;
414
+ cacheLife: {
415
+ [profile: string]: {
416
+ stale?: number;
417
+ revalidate?: number;
418
+ expire?: number;
419
+ };
420
+ } & _$next_dist_server_config_shared0.ResolvedCacheLifeProfiles;
421
+ expireTime?: number | undefined;
422
+ output?: "standalone" | "export" | undefined;
423
+ modularizeImports?: Record<string, {
424
+ transform: string | Record<string, string>;
425
+ preventFullImport?: boolean;
426
+ skipDefaultConversion?: boolean;
427
+ }> | undefined;
428
+ allowedDevOrigins?: string[] | undefined;
429
+ adapterPath?: string | undefined;
430
+ configFile: string | undefined;
431
+ configFileName: string;
432
+ distDirRoot: string;
433
+ repoRoot: string;
434
+ };
435
+ appDir: string;
436
+ pageExtensions: string[];
437
+ distDir: string;
438
+ buildId: string;
439
+ buildEnvironment: {
440
+ __NEXT_BUILD_ID: string;
441
+ __NEXT_PREVIEW_MODE_ID: string;
442
+ __NEXT_PREVIEW_MODE_SIGNING_KEY: string;
443
+ __NEXT_PREVIEW_MODE_ENCRYPTION_KEY: string;
444
+ };
445
+ previewProps: {
446
+ previewModeId: string;
447
+ previewModeSigningKey: string;
448
+ previewModeEncryptionKey: string;
449
+ }; /** The build code of the installed `next`, see compat/build.ts. */
450
+ next: {
451
+ COMPILER_NAMES: {
452
+ readonly client: "client";
453
+ readonly server: "server";
454
+ readonly edgeServer: "edge-server";
455
+ };
456
+ APP_DIR_ALIAS: string;
457
+ MIDDLEWARE_FILENAME: string;
458
+ PROXY_FILENAME: string;
459
+ WEBPACK_LAYERS: {
460
+ GROUP: {
461
+ builtinReact: ("rsc" | "action-browser")[];
462
+ serverOnly: ("middleware" | "rsc" | "action-browser" | "instrument")[];
463
+ neutralTarget: ("api-node" | "api-edge")[];
464
+ clientOnly: ("ssr" | "app-pages-browser")[];
465
+ bundled: ("shared" | "middleware" | "rsc" | "ssr" | "action-browser" | "instrument" | "app-pages-browser")[];
466
+ appPages: ("rsc" | "ssr" | "action-browser" | "app-pages-browser")[];
467
+ };
468
+ shared: "shared";
469
+ reactServerComponents: "rsc";
470
+ serverSideRendering: "ssr";
471
+ actionBrowser: "action-browser";
472
+ apiNode: "api-node";
473
+ apiEdge: "api-edge";
474
+ middleware: "middleware";
475
+ instrument: "instrument";
476
+ edgeAsset: "edge-asset";
477
+ appPagesBrowser: "app-pages-browser";
478
+ pagesDirBrowser: "pages-dir-browser";
479
+ pagesDirEdge: "pages-dir-edge";
480
+ pagesDirNode: "pages-dir-node";
481
+ };
482
+ WEBPACK_RESOURCE_QUERIES: {
483
+ edgeSSREntry: string;
484
+ metadata: string;
485
+ metadataRoute: string;
486
+ metadataImageMeta: string;
487
+ };
488
+ discoverRoutes: typeof _$next_dist_build_route_discovery0.discoverRoutes;
489
+ createPagesMapping: typeof _$next_dist_build_route_discovery0.createPagesMapping;
490
+ normalizeCatchAllRoutes: typeof _$next_dist_build_normalize_catchall_routes0.normalizeCatchAllRoutes;
491
+ normalizeAppPath: typeof _$next_dist_shared_lib_router_utils_app_paths0.normalizeAppPath;
492
+ compareAppPaths: typeof _$next_dist_shared_lib_router_utils_app_paths0.compareAppPaths;
493
+ selectAppPageEntry: typeof _$next_dist_shared_lib_router_utils_app_paths0.selectAppPageEntry;
494
+ isAppRouteRoute: typeof _$next_dist_lib_is_app_route_route0.isAppRouteRoute;
495
+ isAppPageRoute: typeof _$next_dist_lib_is_app_page_route0.isAppPageRoute;
496
+ findMissingCanonicalInterceptionRoutes: typeof _$next_dist_shared_lib_router_utils_interception_routes0.findMissingCanonicalInterceptionRoutes;
497
+ MissingCanonicalInterceptionRoutesError: typeof _$next_dist_shared_lib_errors_missing_canonical_interception_routes_error0.MissingCanonicalInterceptionRoutesError;
498
+ IncompatibleParallelRouteSlotsError: typeof _$next_dist_shared_lib_errors_incompatible_parallel_route_slots_error0.IncompatibleParallelRouteSlotsError;
499
+ UnmatchedAppPagesError: typeof _$next_dist_shared_lib_errors_unmatched_app_pages_error0.UnmatchedAppPagesError;
500
+ getDefineEnv: typeof _$next_dist_build_define_env0.getDefineEnv;
501
+ getNextPublicEnvironmentVariables: typeof _$next_dist_lib_static_env0.getNextPublicEnvironmentVariables;
502
+ getNextConfigEnv: typeof _$next_dist_lib_static_env0.getNextConfigEnv;
503
+ SUPPORTED_NATIVE_MODULES: readonly ["buffer", "events", "assert", "util", "async_hooks"];
504
+ compilerAliases: typeof _$next_dist_build_create_compiler_aliases0;
505
+ needsExperimentalReact: typeof _$next_dist_lib_needs_experimental_react0.needsExperimentalReact;
506
+ loadEntrypoint: typeof _$next_dist_build_load_entrypoint0.loadEntrypoint;
507
+ nextAppLoader: (this: AppLoaderContext) => Promise<string>;
508
+ IncrementalCache: typeof _$next_dist_server_lib_incremental_cache_index0.IncrementalCache;
509
+ swc: typeof _$next_dist_build_swc_index0;
510
+ getLoaderSWCOptions: typeof _$next_dist_build_swc_options0.getLoaderSWCOptions;
511
+ loadJsConfig: typeof _$next_dist_build_load_jsconfig0.default;
512
+ getRSCModuleInformation: typeof _$next_dist_build_analysis_get_page_static_info0.getRSCModuleInformation;
513
+ getAppPageStaticInfo: typeof _$next_dist_build_analysis_get_page_static_info0.getAppPageStaticInfo;
514
+ nextImageLoaderRegex: RegExp;
515
+ nextImageLoader: Loader;
516
+ getNextFontLoader: typeof _$next_dist_build_webpack_config_blocks_css_loaders_next_font0.getNextFontLoader;
517
+ getPostCssPlugins: typeof _$next_dist_build_webpack_config_blocks_css_plugins0.getPostCssPlugins;
518
+ getSupportedBrowsers: typeof _$next_dist_build_get_supported_browsers0.getSupportedBrowsers;
519
+ getCssModuleLoader: typeof _$next_dist_build_webpack_config_blocks_css_loaders_modules0.getCssModuleLoader;
520
+ localByDefault: (options: {
521
+ mode: string;
522
+ }) => never;
523
+ findConfig: typeof _$next_dist_lib_find_config0.findConfig;
524
+ nextFontLoader: Loader;
525
+ nextRootParamsLoader: Loader;
526
+ imageOptimizer: typeof _$next_dist_server_image_optimizer0;
527
+ loadCustomRoutes: typeof _$next_dist_lib_load_custom_routes0.default;
528
+ generateInterceptionRoutesRewrites: typeof _$next_dist_lib_generate_interception_routes_rewrites0.generateInterceptionRoutesRewrites;
529
+ NEXT_URL: "next-url";
530
+ generateRoutesManifest: typeof _$next_dist_build_generate_routes_manifest0.generateRoutesManifest;
531
+ handleBuildComplete: typeof _$next_dist_build_adapter_build_complete0.handleBuildComplete;
532
+ Bundler: typeof _$next_dist_lib_bundler0.Bundler;
533
+ getFilesInDir: typeof _$next_dist_lib_get_files_in_dir0.getFilesInDir;
534
+ rootPageType: never;
535
+ getStaticInfoIncludingLayouts: typeof _$next_dist_build_get_static_info_including_layouts0.getStaticInfoIncludingLayouts;
536
+ getEdgeServerEntry: typeof _$next_dist_build_entries0.getEdgeServerEntry;
537
+ getNamedMiddlewareRegex: typeof _$next_dist_shared_lib_router_utils_route_regex0.getNamedMiddlewareRegex;
538
+ nextMiddlewareLoader: Loader;
539
+ getContentType: (extWithoutDot: string) => string | null;
540
+ getExtension: (contentType: string) => string | null;
541
+ nextMetadataImageLoader: Loader;
542
+ nextMetadataRouteLoader: Loader;
543
+ };
544
+ }>;
545
+ //#endregion
546
+ export { NextContext, inDirectory, moduleFileAt, openNextProject };