/**
 * Trellis UI Server
 *
 * Lightweight HTTP server that exposes the TrellisVCS engine
 * as a JSON API and serves the System Visualizer client.
 *
 * Endpoints:
 *   GET /              → client.html (System Visualizer)
 *   GET /theme/runtime-theme.css → shared runtime theme contract
 *   GET /api/graph     → full graph (nodes + edges)
 *   GET /api/timeline  → causal op stream with branch lanes & markers
 *   GET /api/store     → EAV store overview (stats, catalog, entities)
 *   GET /api/store/entity/:id → full detail for one entity
 *   GET /api/system    → system architecture metadata
 *   GET /api/search    → semantic search (?q=...&limit=10&type=...)
 *   GET /api/node/:id  → node detail
 */
export interface GraphNode {
    id: string;
    label: string;
    type: 'file' | 'milestone' | 'issue' | 'branch';
    meta: Record<string, unknown>;
}
export interface GraphEdge {
    source: string;
    target: string;
    type: 'milestone_file' | 'issue_branch' | 'wikilink' | 'causal';
    label?: string;
}
export interface GraphData {
    nodes: GraphNode[];
    edges: GraphEdge[];
}
export interface UIServerOptions {
    rootPath: string;
    port?: number;
    open?: boolean;
}
export declare function startUIServer(opts: UIServerOptions): Promise<{
    port: number;
    stop: () => void;
}>;
//# sourceMappingURL=server.d.ts.map