export type RemotePageRoute = { /** Route pathname relative to the remote base, e.g. "/" or "/reports/:id" */ path: string; /** Lazy module loader returning a React component (default export). */ load: () => Promise<{ default: any; }>; }; export type RemoteRenderResult = { Component: any; params: Record; }; /** * Given remote pages and a subpath (relative to the remote base), pick the first match. * * Example: * - pages: [{ path: '/', load: ... }, { path: '/reports/:id', load: ... }] * - subpath: '/reports/1' */ export declare function resolveRemotePage(pages: RemotePageRoute[], subpath: string): Promise; //# sourceMappingURL=remote-pages.d.ts.map