import * as d3 from "d3"; import { D3Scale } from "../types"; export type LegendComponentSettings = { hideKeys?: any[]; mainValues?: any[]; }; export declare const colorLegend: () => LegendComponent; export declare const symbolLegend: () => LegendComponent; export declare const colorGroupLegend: () => LegendComponent; interface LegendComponent { (container: any): void; settings(): LegendComponentSettings; settings(nextSettings: LegendComponentSettings): LegendComponent; scale(): D3Scale | null; scale(nextScale: D3Scale | null): LegendComponent; color(): d3.ScaleOrdinal; color(nextColor: d3.ScaleOrdinal): LegendComponent; } export {};