import { AccumulationSeries } from '../model/acc-base';
import { MarginModel } from '../../common/model/base-model';
import { AccumulationChart } from '../accumulation';
import { BaseLegend, LegendOptions } from '../../common/legend/legend';
import { LegendSettingsModel } from '../../common/legend/legend-model';
import { Rect, Size } from '@syncfusion/ej2-svg-base';
import { ChartLocation } from '../../common/utils/helper';
/**
 * AccumulationLegend module used to render `Legend` for Accumulation chart.
 */
export declare class AccumulationLegend extends BaseLegend {
    titleRect: Rect;
    private totalRowCount;
    private maxColumnWidth;
    /**
     * Constructor for Accumulation Legend.
     *
     * @param {AccumulationChart} chart Get a chart as a parameter.
     */
    constructor(chart: AccumulationChart);
    /**
     * Binding events for legend module.
     */
    private addEventListener;
    /**
     * UnBinding events for legend module.
     */
    private removeEventListener;
    /**
     * To handle mosue move for legend module
     */
    private mouseMove;
    /**
     * To handle mosue end for legend module
     */
    private mouseEnd;
    /**
     * Get the legend options.
     *
     * @returns {void} Legend options.
     * @private
     */
    getLegendOptions(chart: AccumulationChart, series: AccumulationSeries[]): void;
    /**
     * To find legend bounds for accumulation chart.
     *
     * @private
     */
    getLegendBounds(availableSize: Size, legendBounds: Rect, legend: LegendSettingsModel): void;
    private getPageWidth;
    /** @private */
    getLegendHeight(option: LegendOptions, legend: LegendSettingsModel, bounds: Rect, rowWidth: number, legendHeight: number, padding: number): void;
    /**
     * To find html entities value for legend.
     *
     * @returns {string} converts the entities to normal string.
     */
    convertHtmlEntities(legendText: string): string;
    /**
     * To find maximum column size for legend
     *
     * @returns {number} Get a maximum columns.
     */
    private getMaxColumn;
    /**
     * To find available width from legend x position.
     *
     * @returns {number} Get a available width.
     */
    private getAvailWidth;
    /**
     * To find legend rendering locations from legend items.
     *
     * @private
     */
    getRenderPoint(legendOption: LegendOptions, start: ChartLocation, textPadding: number, prevLegend: LegendOptions, rect: Rect, count: number, firstLegend: number): void;
    /**
     * check whether legend group within legend bounds or not.
     *
     */
    private isWithinBounds;
    /**
     * finding the smart legend place according to positions.
     *
     * @returns {void}
     * @private
     */
    getSmartLegendLocation(labelBound: Rect, legendBound: Rect, margin: MarginModel): void;
    /**
     * To get title rect.
     *
     * @returns {void} Get a title rect.
     */
    private getTitleRect;
    /**
     * To get legend by index
     *
     * @returns {LegendOptions} Return legend index.
     */
    private legendByIndex;
    /**
     * To show or hide the legend on clicking the legend.
     *
     * @returns {void}
     */
    click(event: Event): void;
    /**
     * To translate the point elements by index and position
     */
    private sliceVisibility;
    /**
     * Slice animation
     *
     * @param {Element} element slice element.
     * @param {boolean} isVisible boolean value of slice.
     * @returns {void} slice animation method.
     */
    private sliceAnimate;
    /**
     * Get module name
     *
     * @returns {string} Return module name.
     */
    protected getModuleName(): string;
    /**
     * To destroy the Legend.
     *
     * @returns {void}
     * @private
     */
    destroy(): void;
}
