import { type Server } from 'http'; import { ProjectRegistry } from '../project-registry.js'; import type { ProjectRecord } from '../project-scanner.js'; export interface UiHttpServerOptions { rootPath?: string; registry?: ProjectRegistry; staticRoot?: string; } export interface StartUiHttpServerOptions extends UiHttpServerOptions { host?: string; port?: number; } export interface UiHttpServerHandle { server: Server; registry: ProjectRegistry; rootPath: string; staticRoot: string; refreshProjects: () => Promise; } export interface StartedUiHttpServerHandle extends UiHttpServerHandle { host: string; port: number; url: string; close: () => Promise; } export declare function createUiHttpServer(options?: UiHttpServerOptions): Promise; export declare function startUiHttpServer(options?: StartUiHttpServerOptions): Promise; export declare function getDefaultUiStaticRoot(): string; //# sourceMappingURL=server.d.ts.map