/** * Test Dashboard CLI — Terminal UI for AgentProbe test results. * Renders a rich dashboard with test results, coverage, cost breakdown, and trend sparklines. */ import type { SuiteResult, TestResult } from './types'; /** * Generate a sparkline string from numeric data points. */ export declare function sparkline(data: number[]): string; export interface DashboardData { results: { passed: number; failed: number; flaky: number; skipped: number; total: number; }; coverage: { tools: number; prompts: number; security: number; }; cost: { totalUsd: number; avgPerTest: number; mostExpensive: { name: string; costUsd: number; } | null; }; trend: number[]; duration_ms: number; } export interface DashboardOptions { width?: number; color?: boolean; compact?: boolean; } /** * Aggregate multiple suite results into DashboardData. */ export declare function collectDashboardData(suites: SuiteResult[], opts?: { coverageTools?: string[]; declaredTools?: string[]; history?: number[]; }): DashboardData; /** * Estimate cost of a single test from its trace token usage. */ export declare function estimateTestCost(result: TestResult): number; /** * Render the full terminal dashboard. */ export declare function renderDashboard(data: DashboardData, opts?: DashboardOptions): string; /** * Render a compact single-line summary for CI output. */ export declare function renderCompactDashboard(data: DashboardData): string; //# sourceMappingURL=dashboard.d.ts.map