import { type ReactNode } from 'react'; import { type StylingProps, type MaskingProps, type DataTestId } from '@dynatrace/strato-components/core'; import { ConvertibleUnit, FormatOptions, Unit } from '@dynatrace-sdk/units'; import { MeterBarChartProps, type MeterBarChartThresholdProps } from './meter-bar-chart.js'; import { Formatter } from '../../../core/types/formatter.js'; import { MeterBarSize, SlotWithAutoDefault } from '../../shared/types/meter-bars.js'; export type MeterBarChartThresholdPropsInternal = Required> & Pick; export interface ThresholdMetadata { data: MeterBarChartThresholdPropsInternal[]; legend?: boolean; } type PropsToOmit = 'name' | 'size' | 'formatter' | 'unit' | 'seriesActions' | keyof StylingProps | keyof MaskingProps | keyof DataTestId; export interface MeterBarChartDataProviderData extends Required> { width: number; label?: ReactNode; name?: string; tooltip: boolean; thresholdIndicators?: number[]; } export interface MeterBarChartDataProviderProps { data: MeterBarChartDataProviderData; } export interface MeterBarChartInternalConfig { thresholds: ThresholdMetadata; size: MeterBarSize; min: number; max: number; tooltip: boolean; iconSlot: ReactNode; labelSlot: ReactNode; valueSlot?: SlotWithAutoDefault; minSlot?: SlotWithAutoDefault; maxSlot?: SlotWithAutoDefault; formatter: Formatter | FormatOptions; } export {};