export type DynamicObj = {
    [key: string]: any;
};
export type StackedBarSegment = {
    key: string;
    value: number;
    color: string;
    data?: DynamicObj;
};
export type StackedBarDataItem = {
    label: string;
    segments: StackedBarSegment[];
};
export type StackedBarChartProps = {
    data: StackedBarDataItem[];
    barWidth?: number;
    height?: number;
    barGap?: number;
    barBorderRadius?: number;
    xAxisLabel?: string;
    yAxisLabel?: string;
    yAxisDivisions?: number;
    padding?: number;
    legend?: boolean;
    legendPosition?: 'top' | 'bottom';
    showXAxisLabels?: boolean;
    isTruncateText?: boolean;
    isOnclick?: boolean;
    onSelectedBar?: (colData: {
        label: string;
        segments: StackedBarSegment[];
    }, index: number) => void;
    onSegmentClick?: (label: string, segment: StackedBarSegment, segmentIndex: number) => void;
};
