import { OnInit, EventEmitter, SimpleChanges, ChangeDetectorRef } from '@angular/core';
import { EChartOption, ECharts } from 'echarts';
import { CommonService } from '../../service/common.service';
import { ChartOptionService } from '../../service/chart-option.service';
import { ChartResizeService } from '../../service/chart-resize.service';
import { NoiseAnalysisBlockService } from './noise-analysis-block.service';
import { NoiseAnalysisBlock } from './noise-analysis-interface';
declare type tool = 'calculate' | 'brush' | 'brushEnlarge' | 'brushRestore' | 'spec';
export declare class NoiseAnaliysisBlockComponent implements OnInit {
    private commonService;
    private chartOptionService;
    private chartResizeService;
    private service;
    private cdr;
    constructor(commonService: CommonService, chartOptionService: ChartOptionService, chartResizeService: ChartResizeService, service: NoiseAnalysisBlockService, cdr: ChangeDetectorRef);
    style: {
        toolbox: {
            itemGap: number;
            right: number;
            itemSize: number;
        };
        grid: {
            left: number;
            right: number;
        }[];
        legend: {
            itemGap: number;
            left: number;
        }[];
    };
    chartTitle: {
        show: boolean;
        label: string;
    };
    initOpts: {
        renderer: string;
        devicePixelRatio: number;
    };
    cardPadding: string;
    cardBgColor: string;
    chartTitleColor: string;
    chartBackgroundColor: string;
    chartColors: string[];
    chartTitles: {
        show: boolean;
        text: string;
    };
    chartGrid: ({
        left: any;
        right: any;
        top: number;
        bottom: number;
        height?: undefined;
    } | {
        height: number;
        left: any;
        right: any;
        top: number;
        bottom: number;
    })[];
    chartxAxis: ({
        axisLabel: {
            rotate: number;
            interval: number;
            formatter: any;
            textStyle: {
                fontSize: string;
            };
        };
        name: string;
        splitLine: {
            show: boolean;
        };
        data: any;
        gridIndex?: undefined;
        axisTick?: undefined;
    } | {
        data: any;
        gridIndex: number;
        axisLabel: {
            interval: number;
            formatter: () => string;
            textStyle: {
                fontSize: string;
            };
            rotate?: undefined;
        };
        splitLine: {
            show: boolean;
        };
        axisTick: {
            show: boolean;
        };
        name?: undefined;
    } | {
        gridIndex: number;
        axisLabel?: undefined;
        name?: undefined;
        splitLine?: undefined;
        data?: undefined;
        axisTick?: undefined;
    })[];
    chartyAxis: ({
        name: string;
        nameLocation: string;
        nameGap: number;
        scale: boolean;
        type: string;
        splitNumber: number;
        axisLabel: {
            rotate: number;
            fontSize: string;
            formatter: (data: any) => string;
        };
        axisTick: {
            show: boolean;
        };
        splitLine: {
            show: boolean;
            interval?: undefined;
        };
        gridIndex?: undefined;
        data?: undefined;
        show?: undefined;
    } | {
        axisTick: {
            show: boolean;
        };
        splitLine: {
            show: boolean;
            interval: number;
        };
        gridIndex: number;
        data: any;
        name?: undefined;
        nameLocation?: undefined;
        nameGap?: undefined;
        scale?: undefined;
        type?: undefined;
        splitNumber?: undefined;
        axisLabel?: undefined;
        show?: undefined;
    } | {
        gridIndex: number;
        name?: undefined;
        nameLocation?: undefined;
        nameGap?: undefined;
        scale?: undefined;
        type?: undefined;
        splitNumber?: undefined;
        axisLabel?: undefined;
        axisTick?: undefined;
        splitLine?: undefined;
        data?: undefined;
        show?: undefined;
    } | {
        show: boolean;
        gridIndex: number;
        name?: undefined;
        nameLocation?: undefined;
        nameGap?: undefined;
        scale?: undefined;
        type?: undefined;
        splitNumber?: undefined;
        axisLabel?: undefined;
        axisTick?: undefined;
        splitLine?: undefined;
        data?: undefined;
    })[];
    chartSeries: EChartOption.Series;
    chartTooltip: {
        trigger: string;
        transitionDuration: number;
        appendToBody: boolean;
        confine: boolean;
        enterable: boolean;
        borderColor: string;
        borderWidth: number;
        backgroundColor: string;
        extraCssText: string;
        textStyle: {
            color: string;
            fontSize: string;
        };
        padding: number;
        formatter: any;
    };
    chartToolbox: {
        show: boolean;
        itemSize: number;
        showTitle: boolean;
        feature: {
            brush: {
                show: boolean;
                type: string[];
            };
        };
        iconStyle: {
            opacity: number;
        };
    };
    chartBrush: {
        toolbox: string[];
        xAxisIndex: number;
        brushLink: number;
        outOfBrush: {
            colorAlpha: number;
        };
        throttleType: string;
        throttleDelay: number;
    };
    chartOption: {
        backgroundColor: string;
        color: string[];
        title: {
            show: boolean;
            text: string;
        };
        tooltip: {
            trigger: string;
            transitionDuration: number;
            appendToBody: boolean;
            confine: boolean;
            enterable: boolean;
            borderColor: string;
            borderWidth: number;
            backgroundColor: string;
            extraCssText: string;
            textStyle: {
                color: string;
                fontSize: string;
            };
            padding: number;
            formatter: any;
        };
        grid: ({
            left: any;
            right: any;
            top: number;
            bottom: number;
            height?: undefined;
        } | {
            height: number;
            left: any;
            right: any;
            top: number;
            bottom: number;
        })[];
        xAxis: ({
            axisLabel: {
                rotate: number;
                interval: number;
                formatter: any;
                textStyle: {
                    fontSize: string;
                };
            };
            name: string;
            splitLine: {
                show: boolean;
            };
            data: any;
            gridIndex?: undefined;
            axisTick?: undefined;
        } | {
            data: any;
            gridIndex: number;
            axisLabel: {
                interval: number;
                formatter: () => string;
                textStyle: {
                    fontSize: string;
                };
                rotate?: undefined;
            };
            splitLine: {
                show: boolean;
            };
            axisTick: {
                show: boolean;
            };
            name?: undefined;
        } | {
            gridIndex: number;
            axisLabel?: undefined;
            name?: undefined;
            splitLine?: undefined;
            data?: undefined;
            axisTick?: undefined;
        })[];
        yAxis: ({
            name: string;
            nameLocation: string;
            nameGap: number;
            scale: boolean;
            type: string;
            splitNumber: number;
            axisLabel: {
                rotate: number;
                fontSize: string;
                formatter: (data: any) => string;
            };
            axisTick: {
                show: boolean;
            };
            splitLine: {
                show: boolean;
                interval?: undefined;
            };
            gridIndex?: undefined;
            data?: undefined;
            show?: undefined;
        } | {
            axisTick: {
                show: boolean;
            };
            splitLine: {
                show: boolean;
                interval: number;
            };
            gridIndex: number;
            data: any;
            name?: undefined;
            nameLocation?: undefined;
            nameGap?: undefined;
            scale?: undefined;
            type?: undefined;
            splitNumber?: undefined;
            axisLabel?: undefined;
            show?: undefined;
        } | {
            gridIndex: number;
            name?: undefined;
            nameLocation?: undefined;
            nameGap?: undefined;
            scale?: undefined;
            type?: undefined;
            splitNumber?: undefined;
            axisLabel?: undefined;
            axisTick?: undefined;
            splitLine?: undefined;
            data?: undefined;
            show?: undefined;
        } | {
            show: boolean;
            gridIndex: number;
            name?: undefined;
            nameLocation?: undefined;
            nameGap?: undefined;
            scale?: undefined;
            type?: undefined;
            splitNumber?: undefined;
            axisLabel?: undefined;
            axisTick?: undefined;
            splitLine?: undefined;
            data?: undefined;
        })[];
        series: EChartOption.Series;
        toolbox: {
            show: boolean;
            itemSize: number;
            showTitle: boolean;
            feature: {
                brush: {
                    show: boolean;
                    type: string[];
                };
            };
            iconStyle: {
                opacity: number;
            };
        };
        brush: {
            toolbox: string[];
            xAxisIndex: number;
            brushLink: number;
            outOfBrush: {
                colorAlpha: number;
            };
            throttleType: string;
            throttleDelay: number;
        };
    };
    bcacIsDarkMode: boolean;
    bcacTitleSwitch: boolean | string;
    bcacTitle: string;
    isShowLegend: boolean;
    bcacIsShowLegend(data: boolean): void;
    _bcacChartLoading: boolean;
    bcacChartLoading: boolean;
    bcacXaxisName: string;
    bcacYaxisName: string;
    bcacYnameGap: number;
    bcacColors: string[];
    bcacXAxisLabelRotate: number;
    bcacYAxisLabelRotate: number;
    bcacTooltipFormatter: any;
    toolboxList: any[];
    bcacToolboxList: tool[];
    receiveChartSeriesData: any;
    legendDataList: any;
    bcacChartData: NoiseAnalysisBlock;
    bcacLegendCheckedChange: EventEmitter<any>;
    legendChange(e: any): void;
    remove_duplicate(oldlist: any): any;
    bcacGetChartInstance: EventEmitter<ECharts>;
    optionInstance: any;
    onOptionInit(ec: any): void;
    brush(e: any): void;
    bcacBrushSelected: EventEmitter<any>;
    isClearActive: boolean;
    brushMonitor(): void;
    bcacBrushEnlarge: EventEmitter<any>;
    brushEnlarge(e: any): void;
    bcacBrushRestore: EventEmitter<any>;
    brushRestore(e: any): void;
    bcacBrushCalculation: EventEmitter<any>;
    calculate(e: any): void;
    intervalDatas: any[];
    bcacInterValDatas: any[];
    bcacRectClick: EventEmitter<any>;
    chartClick(e: any): void;
    bcacChartMouseOver: EventEmitter<any>;
    chartMouseOver(e: any): void;
    bcacShowSpec: EventEmitter<any>;
    showSpec(e: any): void;
    axisScaleChange(e: number): void;
    ngOnInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    updateOption(): void;
}
export {};
