import type { RunOutput, RunResult, RunSummary } from "../types/output.js"; import type { ScoreResult, ScoredOutput, ScoredRunResult } from "../types/scoring.js"; import type { ReportManifest } from "../types/report.js"; import type { Baseline, BaselineComparison } from "../types/baseline.js"; /** Strip @variant suffix to get the base scenario key. */ export declare function getBaseKey(scenarioKey: string): string; /** Extract variant name from a scenarioKey, or null if none. */ export declare function getVariantName(scenarioKey: string): string | null; export declare const STATUS_ICONS: Record; export declare const STATUS_LABELS: Record; export declare function formatDuration(ms: number): string; /** Build a conditional summary footer: "X completed, Y failed, Z skipped (N total)" */ export declare function formatSummaryFooter(summary: RunSummary): string; /** * Simplify a raw error string into a short, actionable message. * Returns the original string (truncated) if no known pattern matches. */ export declare function friendlyError(raw: string, maxLen?: number): string; /** * Build a short insight string identifying the weakest dimension for each * category that scored below the threshold. Returns null if all categories are fine. */ export declare function buildScoreInsight(score: ScoreResult): string | null; export declare function renderFinalOutput(output: RunOutput, verbose: boolean, agentCount?: number): string; export declare function renderSummaryTable(output: RunOutput): string; export declare function renderResultDetail(result: RunResult): string; export declare function renderScoredOutput(output: ScoredOutput, verbose: boolean, agentCount?: number): string; export declare function renderScoredSummaryTable(output: ScoredOutput): string; export declare function renderReportList(reports: ReportManifest[]): string; export declare function renderReportDetail(report: ReportManifest): string; export declare function renderScenarioDetail(result: RunResult | ScoredRunResult): string; export declare function renderBaselineList(baselines: Baseline[]): string; export declare function renderBaselineShow(baseline: Baseline): string; export declare function renderBaselineComparison(diff: BaselineComparison): string; //# sourceMappingURL=format.d.ts.map