import { BarDataProps } from '../../../common/types/Charts'; export type { BarDataProps } from '../../../common/types/Charts'; interface AmountsProps { average?: number; formattedAverage: string; } export interface BarChartProps { amounts?: AmountsProps; color: string; data: BarDataProps[]; heightOverride?: number | string; isMini?: boolean; margin?: { bottom?: number; left?: number; right?: number; top?: number; }; legendLabelAvg?: string; legendLabelMain?: string; onBarClick?: (index: number) => void; removeSelectedTabColorChange?: boolean; selectedTabIndex?: number; } export interface BarChartV2Props { amounts?: AmountsProps; color: string; data: BarDataProps[]; heightOverride?: number | string; legendPosition?: 'top' | 'bottom'; margin?: { top?: number; bottom?: number; left?: number; right?: number; }; monthlyAmountLabel?: string; onBarClick?: (index: number) => void; removeSelectedTabColorChange?: boolean; selectedTabIndex?: number; trendAmountLabel?: string; } export interface DataSet { ariaLabelComparison: string; ariaLabelMain: string; comparison: number; formattedComparison: string; formattedMain: string; label: string; main: number; } export interface DoubleBarChartProps { amounts?: AmountsProps; barGapRatio?: number; categoryGapRatio?: number; colors: string[]; data: DataSet[]; isMini?: boolean; legendLabelComparison?: string; legendLabelMain?: string; margin?: { bottom?: number; left?: number; right?: number; top?: number; }; onBarClick?: (index: number) => void; } export interface DoubleBarChartMXUIProps { amounts?: AmountsProps; barGapRatio?: number; categoryGapRatio?: number; colors: string[]; data: DataSet[]; isMini?: boolean; legendLabelComparison?: string; legendLabelMain?: string; margin?: { bottom?: number; left?: number; right?: number; top?: number; }; selectedTabIndex?: number; removeSelectedTabColorChange?: boolean; onBarClick?: (index: number) => void; }