resolveConfig(router, appConfig, order) {
			invariant(router.type === "static", "Invalid router mode");
			const appRoot = appConfig.root ?? process.cwd();
			const root = resolve.absolute(router.root, appRoot) ?? appRoot;
			return {
				...router,
				base: router.base ?? "/",
				root,
				order: order ?? 0,
				internals: {
					type: routerModes.static,
				},
				outDir: join(appRoot, ".vinxi", "build", router.name),
			};
		}
@type {Record<string, import("./router-mode.js").RouterMode<any>>}