import { type ReactNode } from 'react'; import type { ConvertibleUnit, FormatOptions, Unit } from '@dynatrace-sdk/units'; import type { Formatter } from '../../core/types/formatter.js'; import type { GaugeChartThresholdProps } from '../slots/Threshold.js'; export interface GaugeChartInternalConfig { min: number; max: number; color: string; formatter?: Formatter | FormatOptions; thresholds?: GaugeChartThresholdProps[]; labelSlot?: ReactNode; valueLabelSlot?: ReactNode; minLabelSlot?: ReactNode; maxLabelSlot?: ReactNode; } export type GaugeChartThresholdPropsInternal = Required;