export interface DashboardServerOptions { projectPath: string; port?: number; webRoot?: string; } export interface DashboardServerHandle { url: string; port: number; close: () => Promise; } /** * Start the dashboard HTTP server. * * - Serves `GET /api/dashboard` with a freshly-collected snapshot on every hit. * - Serves the static frontend from `webRoot` (defaults to `./web` next to * this module — both in source and after build, since the build step copies * `domains/dashboard/web` to `dist/domains/dashboard/web`). * - Tries `port` first, then port+1 ... until it finds a free one (max 50). */ export declare function startDashboardServer(options: DashboardServerOptions): Promise; export declare function resolveDashboardStaticPath(webRoot: string, pathname: string): string | null; //# sourceMappingURL=server.d.ts.map