import { HttpClient } from '@angular/common/http';
import { MatchUnitParams } from './helpers';
import { Indicator, MetricApiParams, MetricResult } from './types';
export declare class CommonChartService {
    readonly http: HttpClient;
    constructor(http: HttpClient);
    requestChartData({ cluster, ...rest }: MetricApiParams, indicator: Indicator[]): import("rxjs").Observable<MetricResult[]>;
    getPrometheusStatus(cluster?: string): import("rxjs").Observable<{
        notDeployed: boolean;
        abnormal: boolean;
    }>;
    handelChartData: (res: MetricResult[], indicator: Indicator[], dependOnData: boolean) => import("../public-api").ChartData[];
    adaptChartUnit(data: Array<{
        data?: Array<{
            x: number;
            y: number;
        }>;
        values?: Array<{
            x: number;
            y: number;
        }>;
    }>, adaptUnitParams: boolean | MatchUnitParams): {
        base: number;
        exponent: number;
        unit: string;
    };
}
