/**
 * CodeGraph Visualizer Server
 *
 * Lightweight HTTP server that serves the graph visualization UI
 * and exposes REST API endpoints for querying the CodeGraph database.
 */
import type CodeGraph from '../index';
export interface VisualizerOptions {
    /** Port to listen on (0 = auto-assign) */
    port?: number;
    /** Whether to open browser automatically */
    openBrowser?: boolean;
    /** Host to bind to */
    host?: string;
}
export declare class VisualizerServer {
    private cg;
    private server;
    private projectRoot;
    private symbolIndexCache;
    private claudeAvailable;
    constructor(cg: CodeGraph);
    /**
     * Build a compact symbol index string for Claude prompts
     */
    private buildSymbolIndex;
    /**
     * Ask Claude CLI to interpret a natural language question into relevant symbol names
     */
    private askClaude;
    /**
     * Start the visualizer server
     */
    start(options?: VisualizerOptions): Promise<{
        port: number;
        url: string;
    }>;
    /**
     * Stop the server
     */
    stop(): Promise<void>;
    private handleRequest;
    private handleAPI;
    private serveStatic;
}
//# sourceMappingURL=server.d.ts.map