export interface DashboardConfig { port?: number; dataDir: string; refreshIntervalSec?: number; title?: string; } export interface DashboardMetrics { uptime: string; totalRuns: number; passRate: number; errorRate: number; avgLatencyMs: number; totalCost: number; slaStatus: 'healthy' | 'degraded' | 'critical'; lastUpdated: string; recentRuns: DashboardRun[]; } export interface DashboardRun { name: string; timestamp: string; passed: number; failed: number; durationMs: number; cost: number; } /** * Scan a reports directory and extract dashboard metrics. */ export declare function collectDashboardMetrics(dataDir: string): DashboardMetrics; /** * Format millisecond duration as human-readable uptime. */ export declare function formatUptime(ms: number): string; /** * Generate a standalone HTML dashboard page. */ export declare function generateDashboardHTML(metrics: DashboardMetrics, config?: Partial): string; //# sourceMappingURL=health-dashboard.d.ts.map