/** * Host Router Implementation * * Main router that handles host-based routing with middleware and cookie override. */ import type { HostRouter, HostRouterOptions, RouteEntry } from './types.js'; /** * Registry entry for a host router instance. * Stores references to the live routes array and fallback, so the discovery * plugin can iterate handlers registered after createHostRouter() returns. */ export interface HostRouterRegistryEntry { routes: RouteEntry[]; fallback: RouteEntry | null; } /** * Global registry for host routers (parallel to RouterRegistry for RSC routers). * Populated by createHostRouter() so the build-time discovery plugin can find * host routers and resolve their lazy handlers to trigger sub-app createRouter() calls. */ export declare const HostRouterRegistry: Map; /** * Create a host router */ export declare function createHostRouter(options?: HostRouterOptions): HostRouter; //# sourceMappingURL=router.d.ts.map