import { MetricDefinition, ServerStats } from '../../../core/types.js'; interface MetricCardProps { metric: MetricDefinition; stats: ServerStats; history: number[]; className?: string; } /** * Individual metric display in the stats bar. * * Shows a label, value, color coding, and an expandable tooltip * with sparkline and statistics on click/hover. * * The tooltip is rendered via a React portal into the nearest * `.ss-bar` ancestor so it is not clipped by the scroll container * (`overflow-x: auto` on `.ss-bar-scroll`). Position is calculated * relative to the badge, matching the old vanilla JS behaviour. */ export declare function MetricCard({ metric, stats, history, className }: MetricCardProps): import("react/jsx-runtime").JSX.Element | null; export {};