import type { Thresholds } from '../common/models'; import type { Metric } from '../common/timeSeries/models'; export interface ShowTooltipArgs { tooltipData?: T; tooltipLeft?: number; tooltipTop?: number; } export interface GaugeProps { adaptedMaxValue: number; baseColor?: string; height: number; hideTooltip: () => void; metric: Metric; radius: number; showTooltip: (args: ShowTooltipArgs) => void; thresholds: Thresholds; width: number; } export enum ThresholdType { Warning = 0, Error = 1, Success = 2 }