import type { SessionMetrics, SessionTraceItem } from "../../../lib/session/types.js"; export interface SessionSummaryProps { /** The session's traces — aggregated internally. Supply `metrics` instead to pass a pre-aggregate. */ items?: SessionTraceItem[]; /** Pre-computed metrics (overrides `items`). */ metrics?: SessionMetrics; /** USD cost formatter. Default `$0.0000`. */ formatCostUsd?: (usd: number) => string; className?: string; "aria-label"?: string; } /** * SessionSummary — a `
` of honest aggregate metrics over a session's traces: trace count, the * session wall-clock window, ∑ cost, ∑ tokens, error count (highlighted destructive when > 0), and * the distinct models. Sums of zero are honest (`$0.0000`, `0`), never an em-dash. Pass `items` (it * aggregates via `aggregateSession`) or a pre-computed `metrics`. */ export declare function SessionSummary({ items, metrics, formatCostUsd, className, "aria-label": ariaLabel, }: SessionSummaryProps): import("react").JSX.Element;