import { type ReactNode } from 'react'; import type { ConvertibleUnit, FormatOptions, Unit } from '@dynatrace-sdk/units'; import type { IntentProps } from '../../../core/slots/Intent/Intent.js'; import type { CompactToolbarProps } from '../../core/slots/toolbar/CompactToolbar.js'; import { ColorRuleProps } from '../../core/types/color-rule.js'; import type { Formatter } from '../../core/types/formatter.js'; import type { GaugeChartThresholdIndicatorProps } from '../slots/ThresholdIndicator.js'; import { GaugeChartTooltipProps } from '../slots/Tooltip.js'; export interface GaugeChartInternalConfig { min: number; max: number; color: string; formatter?: Formatter | FormatOptions; thresholdsIndicators?: GaugeChartThresholdIndicatorProps[]; labelSlot?: ReactNode; colorRules: ColorRuleProps[]; toolbar: Required; intents: IntentProps[]; valueAccessor?: string; tooltip?: GaugeChartTooltipProps; unit?: string | Unit; loading?: boolean; } export type GaugeChartThresholdIndicatorPropsInternal = Required;