import { ChartConfig, ChartType, Legend } from '../interfaces'; export declare class LegendObject { source: (Legend | string)[]; queue: Legend[]; mapping: { [key: string]: Legend; }; hasDashed: boolean; support: boolean; updated: number; constructor(config: ChartConfig, source: (Legend | string)[]); setLegends: (config: ChartConfig, source: (Legend | string)[]) => void; getLegend: (label: string) => Legend; transform: (type: ChartType) => void; update: (label: string) => { [key: string]: Legend; }; }