import { pyramidBarData } from './pyramid-bar-interface';
import { CommonService } from '../../service/common.service';
import { axisLabelRotate } from './pyramid-bar.component';
export declare class PyramidBarService {
    private commonService;
    constructor(commonService: CommonService);
    getPyramidBarChartDefaultOption(): {
        color: string[];
        backgroundColor: string;
        grid: {
            left: number;
            right: number;
            bottom: number;
            top: number;
            containLabel: boolean;
        };
        legend: {
            type: "scroll" | "plain";
            show: boolean;
            width: string;
            bottom: string;
            orient: string;
            itemGap: number;
            itemWidth: number;
            itemHeight: number;
            pageIconSize: any;
            pageTextStyle: {
                fontSize: any;
            };
            pageIcons: {
                horizontal: string[];
                pageIconColor: string;
            };
            textStyle: {
                fontSize: number;
                fontWeight: number;
                padding: number;
            };
        };
        tooltip: {
            [k: string]: any;
        };
        xAxis: {
            type: string;
            name: string;
            nameLocation: string;
            nameTextStyle: {
                color: string;
                fontSize: any;
            };
            nameGap: number;
            axisLine: {
                show: boolean;
            };
            label: {
                show: boolean;
            };
            axisTick: {
                show: boolean;
                length: number;
            };
            axisLabel: {
                fontSize: number;
                color: string;
                formatter: (value: any) => number;
            };
            splitLine: {
                lineStyle: {
                    color: string;
                };
            };
        }[];
        yAxis: {
            type: string;
            nameLocation: string;
            nameTextStyle: {
                color: string;
                fontSize: any;
            };
            nameGap: number;
            inverse: boolean;
            axisTick: {
                show: boolean;
            };
            axisLine: {
                lineStyle: {
                    color: string;
                };
            };
            axisLabel: {
                fontSize: number;
                color: string;
            };
            data: string[];
        }[];
        series: any[];
        textStyle: {
            fontFamily: string;
        };
    };
    changeLegendShow(options: any, show: boolean): void;
    changeChartData(options: any, data: pyramidBarData): void;
    changeTooltip(chartOpt: any, tooltipUnit: string): void;
    changeXAxisName(chartOpt: any, xAxisName: string): void;
    changeYAxisName(chartOpt: any, yAxisName: string): void;
    changeYAxisNameGap(chartOpt: any, yAxisNameGap: number[]): void;
    changeXAxisLabelRotate(chartOpt: any, xAxisLabelRotate: axisLabelRotate): void;
    changeYAxisLabelRotate(chartOpt: any, yAxisLabelRotate: axisLabelRotate): void;
    setInterval(chartOpt: any, interval: number | string): void;
    changeXAxisMax(chartOpt: any, xAxisMax: number[]): void;
    changeXAxisInterval(chartOpt: any, xAxisInterval: number): void;
}
