import type { DashboardServerOptions, DashboardSkillDistributionManifest } from './types.js';
export declare class DashboardServer {
    private server;
    private runtimeProvider?;
    private orchestratorProvider?;
    private memoryProvider?;
    private adaptersProvider?;
    private clientRegistryProvider?;
    private synapseProvider?;
    private architectsProvider?;
    private runtimeHealthProvider?;
    private workspaceContextProvider?;
    private synapseInitErrorProvider?;
    private reinitSynapseProvider?;
    private repoRoot;
    private runtimeRegistry;
    private dashboardUrl;
    private dashboardMode;
    private activePort;
    private started;
    private initializePromise;
    private stopping;
    private activeProbeControllers;
    private endpointCache;
    private repoTreeGenerator;
    private gitUser;
    private sseBroker;
    private unsubscribeWorkspaceChanged;
    constructor(options?: DashboardServerOptions);
    start(): void;
    stop(): void;
    getAddress(): string | null;
    getSkillDistributionManifest(): DashboardSkillDistributionManifest;
    private migrateDashboardState;
    private initialize;
    private requestHandler;
    private createRouteContext;
    /**
     * Serve the LATTICE modular dashboard shell at /.
     * Uses a strict CSP (no unsafe-inline) since this tree uses only external
     * ES modules and linked CSS — no inline scripts or styles.
     */
    private serveAppIndex;
    private serveAppAsset;
    private serveStaticHtml;
    private getCorsOrigin;
    private respondOptions;
    private respondJsonBody;
    private respondJson;
    private respondCachedJson;
    private readJsonBody;
    private getRuntime;
    private resolveRequestedRuntimeId;
    private resolveRuntimeSnapshot;
    private getOrchestrator;
    private getSynapse;
    private getArchitects;
    private getSelectedRepoIdentity;
    private resolveCanonicalWorkspaceContext;
    private getPreferredArchitectsWorklist;
    private getMemory;
    private getAdapters;
    private getClientRegistry;
    private getCachedValue;
    private readJsonIfExists;
    private fileExists;
    private collectUsageSnapshot;
    private normalizeDashboardRepoToken;
    private dashboardMemoryMatchesRepoName;
    private listDashboardMemories;
    private listCrossProjectMemories;
    private listCrossProjectProjects;
    private collectTokenOptimization;
    private collectGateSummary;
    private collectInterpretationIssues;
    private collectMemoryQualitySummary;
    private buildDashboardAlerts;
    private resolveDashboardEntity;
    private collectCompatibilityHealth;
    private collectHealth;
    private buildAdvertisedCapabilities;
    private buildCompatibilityStatus;
    private buildProbeRuntimeEnvelope;
    private buildUrl;
    private probeDashboard;
    private isCompatibleHealth;
    private isFreePortProbeError;
    private isProbeTimeoutError;
    private isProbeAbortError;
    private requestProbe;
    private bindFirstAvailablePort;
    private listenOnPort;
}
