import { SeriesTone, PlotSeries } from '@axicharts/charts-canvas'; import { CSSProperties, ReactElement } from 'react'; type StatDeltaDirection = "up" | "down" | "neutral"; declare function inferStatDeltaDirection(delta: string): StatDeltaDirection; declare function statDeltaChipStyle(direction: StatDeltaDirection, surface: StatSurface): { background: string; color: string; }; type StatTone = "neutral" | "success" | "warning" | "critical"; type StatSurface = "dark" | "light"; type StatProps = { value: string; label: string; unit?: string; delta?: string; deltaDirection?: StatDeltaDirection; tone?: StatTone; surface?: StatSurface; monospace?: boolean; stale?: boolean; style?: CSSProperties; }; declare function Stat({ value, label, unit, delta, deltaDirection, tone, surface: surfaceProp, monospace, stale, style, }: StatProps): ReactElement; type AlarmSeverity = "normal" | "warning" | "alarm" | "critical"; declare function alarmSeverityToSeriesTone(severity: string): SeriesTone; declare function seriesToneToStatTone(tone: SeriesTone): StatTone; declare function mergeSeriesTone(current: SeriesTone | undefined, next: SeriesTone): SeriesTone; declare function readTagTones(data: Record): Record; declare function applyTagTonesToSeries(series: PlotSeries[], tagTones: Record): PlotSeries[]; declare function resolveTagStatTone(tagTones: Record | undefined, key: string | undefined, explicit?: StatTone): StatTone | undefined; export { type AlarmSeverity as A, type StatTone as S, alarmSeverityToSeriesTone as a, applyTagTonesToSeries as b, resolveTagStatTone as c, type StatSurface as d, type StatDeltaDirection as e, Stat as f, type StatProps as g, statDeltaChipStyle as h, inferStatDeltaDirection as i, mergeSeriesTone as m, readTagTones as r, seriesToneToStatTone as s };