import { DataBase } from '../../data'; import { CircleDrawerProps, DrawerData, LayerInstance, LayerLegendStyle, LayerOptions, LayerStyle, LegendCache, LineDrawerProps, PolyDrawerProps, RectDrawerProps, TextDrawerProps } from '../../types'; import { LayerBase } from '../base'; type Key = 'interactive' | 'circle' | 'rect' | 'polygon' | 'line' | 'text'; export declare class LayerLegend extends LayerBase { private _data; private _style; private disabledColor; private legendDataGroup; protected textData: (DrawerData & { textWidth: number; })[]; protected lineData: (DrawerData & { stroke: string; strokeWidth: number; strokeDasharray?: string; })[]; protected rectData: (DrawerData & { fill: string; })[]; protected circleData: (DrawerData & { fill?: string; stroke?: string; strokeWidth?: number; })[]; protected polygonData: (DrawerData & { fill: string; })[]; protected interactiveData: DrawerData[]; get data(): DataBase<{ text: Meta[]; shape: LegendShape[]; textColors: string[]; shapeColors: string[]; }, Partial<{ order: LegendCache; }>>; get style(): LayerLegendStyle; constructor(options: LayerOptions); setStyle(style: LayerStyle): void; bindLayers(originLayers: LayerInstance[]): void; private filter; update(): void; private createShape; draw(): void; } export {};