import { LitElement } from "lit"; import type { TemplateResult } from "lit"; export type StatSize = "sm" | "md" | "hero"; export declare class XmStat extends LitElement { static styles: CSSStyleSheet[]; /** Caption above the figure, in the mono label typescale. Sentence case. */ label: string; /** The figure itself, pre-formatted by the caller (grouping, units, currency). */ value: string; /** Change beside the figure, sign included (`"+18%"`, `"-4"`). Rendered in the coral accent whatever the direction — direction is carried by the sign and the note, never by a red/green hue (POLICIES rule 3a). */ delta: string; /** What the delta is measured against (`"vs 7-day avg"`). */ deltaNote: string; /** `hero` for the one figure a screen is about, `md` (default) for the strip beside it, `sm` for a figure inside dense chrome. */ size: StatSize; render(): TemplateResult; } declare global { interface HTMLElementTagNameMap { "xm-stat": XmStat; } }