import{type TemplateResult}from'lit';import{LyraElement,type LyraEventDetailSnapshot}from'../../../internal/lyra-element.js';import{type AgentStatusValue}from'../agent-status-presentation.js';import type{AgentRunActivateDetail}from'../run-events.js';export type EvaluationMetricFormat='number'|'percent'|'milliseconds'|'currency';export interface AgentEvaluationMetric{readonly id:string;readonly label:string;readonly value:number;readonly format?:EvaluationMetricFormat;}export interface AgentEvaluationDashboardRun{readonly id:string;readonly label:string;readonly status:AgentStatusValue;readonly metrics?:Readonly>;}export interface LyraAgentEvalDashboardEventMap{'lr-metric-change':CustomEvent<{metricId:string;}>;'lr-run-activate':CustomEvent>>;} /** * `` — a controlled evaluation overview with metric cards, a trend chart, * and run-status history. It never launches or scores evaluations. Duplicate metric or run ids * normalize before selection, charting, rendering, and activation; the first occurrence wins. * * Public collection properties take bounded, clone-owned readonly snapshots. Create a new * collection and reassign it after changes; mutating the assigned array does not update the view. * * @customElement lr-agent-eval-dashboard * @event lr-metric-change - A host-controlled metric selection changed. `detail: { metricId }`. * @event lr-run-activate - A run row was activated. `detail: { runId, run }`. * @csspart base - The root dashboard wrapper. * @csspart heading - The visible heading. * @csspart metrics - The metric-card grid. * @csspart metric - One metric card. * @csspart chart - The trend chart. * @csspart runs - The run history. * @csspart runs-heading - The run history heading. * @csspart run - One run row. * @csspart run-label - A run label. * @csspart run-meta - Status and metric value. * @csspart run-status - A run status badge. * @csspart run-status-message - Optional caller-supplied detail for a run status. * @csspart empty - The empty history message. * @cssprop [--lr-agent-eval-dashboard-active-border=var(--lr-color-brand)] - Active metric border. * @cssprop [--lr-agent-eval-dashboard-active-background=var(--lr-color-brand-quiet)] - Active metric background. * @status stable * @since 6.2.0 */ export declare class LyraAgentEvalDashboard extends LyraElement{protected static readonly ownedCollectionProperties:readonly string[];protected static readonly immutableEventDetails:readonly string[];static styles:import("lit").CSSResultGroup[]; /** Metric cards and selector choices. Empty ids are omitted; duplicates normalize first-wins. */ metrics:readonly AgentEvaluationMetric[]; /** Run history used by both the chart and list. Empty ids are omitted; duplicates normalize * first-wins. */ runs:readonly AgentEvaluationDashboardRun[]; /** Controlled metric selection. `null` or an unmatched identity selects the first valid metric. */ metricId:string|null; /** ISO 4217 currency code used by metrics whose format is `currency`. Invalid codes use USD. */ currency:string; /** Accessible/visible heading override. Optional. Omitting it localizes the default * `evaluationDashboardLabel` message; an explicit empty string renders no visible/accessible * label. */ label?:string;showChart:boolean;chartHeight:string; /** Maximum history entries rendered into both the run list and trend chart. Clamped to 1–500. */ maxRenderedRuns:number;private get normalizedMetrics();private get normalizedRuns();private get activeMetric();private statusLabel;private get projectedRuns();private formatMetric;private renderRuns;render():TemplateResult;}declare global{interface HTMLElementTagNameMap{'lr-agent-eval-dashboard':LyraAgentEvalDashboard;}}