import { CommonService } from '../../service/common.service';
import { EChartOption } from 'echarts';
import { BasicBarLineComponent } from './basic-bar-line.component';
import { ChartOptionService } from '../../service/chart-option.service';
import { ECharts } from 'echarts';
export declare class BasicBarLineService {
    private commonService;
    private chartOptionService;
    constructor(commonService: CommonService, chartOptionService: ChartOptionService);
    getBasicBarLineChartDefaultOption(): {
        backgroundColor: string;
        color: 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;
            };
        };
        toolbox: any;
        tooltip: {
            show: boolean;
            confine: boolean;
            trigger: string;
            axisPointer: {
                show: boolean;
                type: "none" | "line" | "cross" | "shadow";
                shadowStyle: {
                    color: string;
                };
            };
            borderColor: string;
            borderWidth: number;
            backgroundColor: string;
            extraCssText: string;
            textStyle: {
                color: string;
                fontSize: number;
            };
            padding: number;
            formatter: (params: any) => string;
        };
        xAxis: {
            name: string;
            nameTextStyle: {
                fontSize: any;
            };
            type: string;
            axisTick: {
                show: boolean;
            };
            axisLine: {
                lineStyle: {
                    color: string;
                };
            };
            axisLabel: {
                fontSize: number;
                color: string;
            };
            data: string[];
        }[];
        yAxis: {
            type: string;
            name: string;
            nameLocation: string;
            nameTextStyle: {
                color: string;
                fontSize: number;
            };
            nameGap: number;
            axisLine: {
                show: boolean;
            };
            min: (value: any) => any;
            label: {
                show: boolean;
            };
            axisTick: {
                show: boolean;
                length: number;
            };
            axisLabel: {
                fontSize: number;
                color: string;
            };
            splitLine: {
                lineStyle: {
                    color: string;
                };
            };
        }[];
        series: any[];
    };
    changeToolboxShow(chartOpt: any, bcacLegendShow: boolean): void;
    changeLegendPosition(chartOpt: any, position: string): void;
    changeLegendShow(chartOpt: any, bcacLegendShow: boolean): any;
    changeChartData(chartOpt: any, data: any): void;
    changeTooltipUnit(chartOpt: any, tooltipUnit: string | string[]): void;
    changeXAxisName(chartOpt: any, xAxisName: string): void;
    changeYAxisName(chartOpt: any, yAxisName: string[]): void;
    changeYAxisNameGap(chartOpt: any, yAxisNameGap: number): void;
    changeXAxisLabelRotate(chartOpt: any, xAxisLabelRotate: any): void;
    setSmallModeGrid(gridOption: EChartOption.Grid): void;
    setXaxisName(xAxisOption: EChartOption.XAxis[], name: string): void;
    setYaxisName(yAxisOption: EChartOption.YAxis[], names: string[]): void;
    setYnameGap(yAxisOption: EChartOption.YAxis[], yNameGap: number): void;
    setLegendPosition(gridOption: EChartOption.Grid, legendOption: any, legendPosition: string): void;
    changeChartTitleDark(component: BasicBarLineComponent, darkMode: boolean): void;
    xAxisDarkMode(xAxisOption: EChartOption.XAxis[]): void;
    yAxisDarkMode(yAxisOption: EChartOption.YAxis[]): void;
    colorsDarkMode(colors: string[]): void;
    getDefaultTooltip(): EChartOption.Tooltip;
    chartColorsChange(colors: string[], colorList: string[]): void;
    legendDarkMode(legendOption: any): void;
    seriesDarkMode(seriesOption: EChartOption.Series): void;
    chartBackgroundColorDarkMode(chartOption: any): void;
    getDefaultLineSeries(): EChartOption.SeriesCustom | EChartOption.SeriesParallel | EChartOption.SeriesRadar | EChartOption.SeriesSunburst | EChartOption.SeriesThemeRiver | EChartOption.SeriesTree | EChartOption.SeriesTreemap;
    getDefaultBarSeries(): EChartOption.SeriesCustom | EChartOption.SeriesParallel | EChartOption.SeriesRadar | EChartOption.SeriesSankey | EChartOption.SeriesSunburst | EChartOption.SeriesThemeRiver | EChartOption.SeriesTree | EChartOption.SeriesTreemap;
    buildSeries(chartData: any, seriesList: EChartOption.Series[], xAxisOption: EChartOption.XAxis[], lineSeriesOption: EChartOption.Series, barSeriesOption: EChartOption.Series): void;
    getChartxAxis(): EChartOption.XAxis[];
    setInterval(option: any, interval: Number): void;
    topLegendChange(legendDatas: any[], optionInit: ECharts): void;
    setYAxisMin(yAxisOption: EChartOption.YAxis[], min: number[]): void;
    setYAxisMax(yAxisOption: EChartOption.YAxis[], max: number[]): void;
    setYAxisInterval(yAxisOption: EChartOption.YAxis[], interval: number[]): void;
    setYAxisSplitLine(yAxisOpttion: EChartOption.YAxis[], splitLineShow: boolean): void;
    setUnit(chartTooltip: EChartOption.Tooltip, units: string[]): void;
}
