import * as React from 'react';
import { IAccessibilityProps, IChartDataPoint } from './index';
import { IStackedBarChartProps } from '../../index';
export interface IStackedBarChartState {
    isCalloutVisible: boolean;
    selectedLegend: string;
    activeLegend: string;
    refSelected: any;
    dataForHoverCard: number;
    color: string;
    xCalloutValue?: string;
    yCalloutValue?: string;
    dataPointCalloutProps?: IChartDataPoint;
    callOutAccessibilityData?: IAccessibilityProps;
    calloutLegend: string;
    barSpacingInPercent: number;
}
export declare class StackedBarChartBase extends React.Component<IStackedBarChartProps, IStackedBarChartState> {
    static defaultProps: Partial<IStackedBarChartProps>;
    private _classNames;
    private _calloutId;
    private _refArray;
    private _calloutAnchorPoint;
    private _emptyChartId;
    private barChartSvgRef;
    private _isRTL;
    constructor(props: IStackedBarChartProps);
    componentDidMount(): void;
    render(): JSX.Element;
    private _adjustProps;
    /**
     * The Create bar functions returns an array of <rect> elements, which form the bars
     * For each bar an x value, and a width needs to be specified
     * The computations are done based on percentages
     * Extra margin is also provided, in the x value to provide some spacing
     */
    private _createBarsAndLegends;
    private _onBarFocus;
    private _addLegend;
    private _generateEmptyBar;
    private _refCallback;
    private _onClick;
    private _onHover;
    private _onLeave;
    private _onBarHover;
    private _onBarLeave;
    private _handleChartMouseLeave;
    private _redirectToUrl;
    private _closeCallout;
    /**
     * This function checks if the given legend is highlighted or not.
     * A legend can be highlighted in 2 ways:
     * 1. selection: if the user clicks on it
     * 2. hovering: if there is no selected legend and the user hovers over it
     */
    private _legendHighlighted;
    /**
     * This function checks if none of the legends is selected or hovered.
     */
    private _noLegendHighlighted;
    private _getAriaLabel;
    private _isChartEmpty;
}
