import * as React from 'react'; import type { DataColorLegendConfig } from '../utils/treemapUtils'; export type { DataColorLegendConfig, GradientConfig, MatchEntry, RangeEntry } from '../utils/treemapUtils'; export interface DataColorsTreemapLegendProps { config: DataColorLegendConfig; textColor: string; } export interface SeriesColorLegendItem { id: string; label: string; color: string; } export interface SeriesColorLegendProps { items: SeriesColorLegendItem[]; textColor: string; } export declare const SeriesColorLegend: ({ items, textColor }: SeriesColorLegendProps) => React.ReactElement; declare const DataColorsTreemapLegend: ({ config, textColor, }: DataColorsTreemapLegendProps) => React.ReactElement | null; export default DataColorsTreemapLegend; //# sourceMappingURL=TreemapLegend.d.ts.map