import { ILegend, IMetricData, IMetricStream } from "../../core/Metric/type"; import React from "react"; export declare const ColorBlock: React.FC<{ background?: string; }>; export type GetDeselectedValueWithSuffix = (type: string | undefined, data: IMetricData, metricName: string, sample_stream?: IMetricStream) => string; export interface IMetricLegendProps { streams: IMetricStream[]; metricName: string; deselected: string[]; onClick: (id: string) => void; legends: ILegend[]; } declare const MetricLegend: (props: IMetricLegendProps) => React.JSX.Element; export declare const LegendComponent: React.FC; export default MetricLegend;