/**
 * Copyright (c) OpenLens Maintainers. All rights reserved.
 * Licensed under MIT License. See LICENSE in root directory for more information.
 */
export interface MetricData {
    status: string;
    data: {
        resultType: string;
        result: MetricResult[];
    };
}
export interface MetricResult {
    metric: {
        [name: string]: string | undefined;
        instance?: string;
        node?: string;
        pod?: string;
        kubernetes?: string;
        kubernetes_node?: string;
        kubernetes_namespace?: string;
    };
    values: [number, string][];
}
export declare function normalizeMetrics(metrics: MetricData | undefined | null, frames?: number): MetricData;
export declare function isMetricsEmpty(metrics: Partial<Record<string, MetricData>>): boolean;
export declare function getItemMetrics<Keys extends string>(metrics: Partial<Record<Keys, MetricData>> | null | undefined, itemName: string): Partial<Record<Keys, MetricData>> | undefined;
export declare function getMetricLastPoints<Keys extends string>(metrics: Partial<Record<Keys, MetricData>>): Partial<Record<Keys, number>>;
