import OneDChartStyleService, { IOneDChartStyle } from '../one-d';
import { IChartStyleInitOption } from '../base';
import { IDataConfig, EColorMode } from '../../../../../constants/metric-panel-style';
export interface IMetricBasePanelStyle extends IOneDChartStyle {
    colorMode: EColorMode;
    titleFontSize: number;
    width: number;
    height: number;
    pageSize: number;
    autoplaySpeed: number;
    metricDataConfigs: IDataConfig[];
}
export default abstract class MetricBasePanelStyleService<T extends IMetricBasePanelStyle> extends OneDChartStyleService<T> {
    static getChartInitStyle(option: IChartStyleInitOption, initFirst?: boolean): IKeyValues;
    colorMode: EColorMode;
    titleFontSize: number;
    width: number;
    height: number;
    pageSize: number;
    autoplaySpeed: number;
    metricDataConfigs: IDataConfig[];
    getOptions(): T;
    setMetricDataConfigs(metricDataConfigs: IDataConfig[]): void;
    get contextOption(): {
        currentBuckets: string[];
        currentMetrics: string[];
        metrics: string[];
        buckets: string[];
        metricDataConfigs: IDataConfig[];
    };
    constructor(option: T);
}
