import { ClusterConfig } from '../../cluster/models/config.models'; import { AttributeMap } from '../../model/models/attribute-map.models'; import { CurrencyTools, Legend, LegendItem } from '../../model/models/legend.models'; import { ViewConfig } from '../../model/models/view-config.models'; import { ViewAggregation } from '../models/aggregation.models'; export declare function computeLegend(data: AttributeMap[], cluster: ClusterConfig[], view: ViewConfig, adjustedViewAggregation?: ViewAggregation, currencyTools?: CurrencyTools): { legend: Legend; aggregation?: ViewAggregation; }; export declare function mapLegendItems(legend: Legend): LegendItem[];