import { CSSProperties, ReactElement } from 'react'; import { VictoryBarProps } from 'victory'; import { BaseChartProps } from '../../../types/chart'; import { IStackedChartData } from '../../../types/chartData'; import { TChartEventCallback } from '../../../types/chartEvent'; export type StackedBarChartProps = BaseChartProps & Partial> & { data: IStackedChartData; stack100Precision?: number; barWidth?: number; horizontal?: boolean; isStack100?: boolean; showTooltip?: boolean; showBarValues?: boolean; showSideLabels?: boolean; totalLabel?: string; showTotal?: boolean; yMin?: number; yMax?: number; yScale?: 'linear' | 'sqrt' | 'log'; distanceBetweenBar?: { min: number; max: number; }; distanceBetweenBarGroup?: { min: number; max: number; }; distanceBetweenBarInGroup?: number; minTickLabel?: { y: number; xVertical: number; xHorizontal: number; }; chartAfter?: ReactElement | ReactElement[]; otherLabel?: string; maxTooltipItems?: number; tickLetterSize?: number; axisTickLabelStyle?: CSSProperties; minStartBarGap?: number; xTickFormat?: (tick: any, index?: number, ticks?: any[]) => string; yTickFormat?: (tick: any, index?: number, ticks?: any[]) => string; xTickHide?: boolean; yTickHide?: boolean; onClickData?: TChartEventCallback; onHoverData?: TChartEventCallback; onLeaveData?: TChartEventCallback; onMoveData?: TChartEventCallback; }; declare function GenericStackedBarChart({ data, width, height, horizontal, showTotal, totalLabel, padding, colors, theme, yMin, yMax, yScale, isStack100: isStack100Prop, stack100Precision, showTooltip, showBarValues, showSideLabels: showSideLabelsProp, minTickLabel: { y: minTickLabelYLength, xVertical: minTickLabelXVerticalLength, xHorizontal: minTickLabelXHorizontalLength }, distanceBetweenBar: { min: minDistanceBetweenBar, max: maxDistanceBetweenBar }, distanceBetweenBarGroup: { min: minGroupDistanceBetweenBar, max: maxGroupDistanceBetweenBar }, distanceBetweenBarInGroup, chartAfter, otherLabel, maxTooltipItems, tickLetterSize, axisTickLabelStyle, minStartBarGap, barWidth, cornerRadius, xTickFormat, yTickFormat, xTickHide, yTickHide, onClickData, onHoverData, onLeaveData, onMoveData }: StackedBarChartProps): JSX.Element; export declare const StackedBarChart: typeof GenericStackedBarChart; export {};