/** * Local viewer HTTP server — leaf renderer, reads graph.json only. * Binds 127.0.0.1 only; no auth; no scanner imports. */ export declare const DEFAULT_VIEWER_PORT = 4577; export interface ViewerServer { url: string; port: number; /** Push a graph to all SSE clients (Story 3.5). */ broadcastGraph?(graph: unknown): void; /** Push scan error to SSE clients. */ broadcastScanError?(message: string): void; close(): Promise; } export interface ViewerServerOptions { port?: number; /** Enable SSE /events endpoint (Story 3.5). */ sse?: boolean; } export declare function startViewerServer(cwd: string, opts?: ViewerServerOptions): Promise;