/** * AiDex Viewer - Local HTTP Server with WebSocket * Opens an interactive project tree in the browser * * Features: * - Tab-based navigation (Code/All files, Overview/Code view) * - Session change indicators (modified/new files) * - Syntax highlighting with highlight.js */ export declare function startViewer(projectPath: string, initialTab?: string, options?: { exitOnLastClientClose?: boolean; }): Promise; /** * Request that the viewer focus a tab. Works whether the viewer is in the * same Node process or in a different one — state lives in global.db. * Browsers pick it up via the `pollPendingFocus` WS message on connect. */ export declare function broadcastFocusTab(tab: string): void; export declare function broadcastTaskUpdate(): void; export declare function broadcastLogEntry(entry: import('../loghub/log-types.js').LogEntry): void; /** * Broadcast a single debug-dashboard widget update. Same backpressure guard as * the log path — plot widgets can fire at audio rates, so a slow client must * not be allowed to back up ws's internal send-queue. */ export declare function broadcastPanelUpdate(widget: import('../loghub/panel-types.js').PanelWidget): void; /** Broadcast a widget removal (id) or full dashboard clear (no id). */ export declare function broadcastPanelClear(id?: string): void; export declare function stopViewer(): string; //# sourceMappingURL=server.d.ts.map