import { IncomingMessage, ServerResponse } from 'http';
import { SuggestionEngine } from './suggestion-engine.js';
import { DataCollector } from './data-collector.js';
import { BaselineLearner } from './baseline-learner.js';
import { PatternRecognizer } from './pattern-recognizer.js';
import { PolicyAssist } from './policy-assist.js';
import { ThreatIntel } from './threat-intel.js';
import { SelfImprovement } from './self-improvement.js';
import { ComprehensiveReporter } from './comprehensive-reporter.js';
import { HistoryDatabase } from '../database/history-db.js';
import { McpServerConfig } from '../types.js';
export interface DashboardApiOptions {
    engine: SuggestionEngine;
    collector: DataCollector;
    baselineLearner: BaselineLearner;
    patternRecognizer: PatternRecognizer;
    policyAssist: PolicyAssist;
    threatIntel: ThreatIntel;
    selfImprovement: SelfImprovement;
    reporter: ComprehensiveReporter;
    db: HistoryDatabase;
    servers: McpServerConfig[];
}
/**
 * Dashboard API handlers — exposes all AI engine data to the dashboard UI.
 * Each handler follows the (req, res) → Promise<void> pattern for the HTTP server.
 */
export declare class DashboardApi {
    private opts;
    constructor(opts: DashboardApiOptions);
    handle(req: IncomingMessage, res: ServerResponse, url: string, method: string): Promise<boolean>;
    private getSuggestions;
    private getBaselines;
    private getInsights;
    private getReport;
    private getLearningState;
    private postPolicyAssist;
    private postThreatFeed;
    private getCostBreakdown;
    private getLogExport;
}
//# sourceMappingURL=dashboard-api.d.ts.map