import React, { Component } from 'react'; type RangeType = { colorMap?: [string, string][]; colorLegends?: { [key: string]: string; }; colors: string[]; }; interface ColorLegendProps { width: number; scaleType?: string; domain?: any[] | object; fieldType?: string | null; range?: RangeType; labelFormat?: Function; displayLabel?: boolean; } export default class ColorLegend extends Component { domainSelector: (props: any) => any; rangeSelector: (props: any) => any; labelFormatSelector: (props: any) => any; scaleTypeSelector: (props: any) => any; fieldTypeSelector: (props: any) => any; legendsSelector: ((state: any) => { data: any; labels: any; }) & import("reselect").OutputSelectorFields<(args_0: any, args_1: any, args_2: any, args_3: any, args_4: any) => { data: any; labels: any; }, { clearCache: () => void; }> & { clearCache: () => void; }; render(): React.JSX.Element; } export declare const LegendRow: ({ label, displayLabel, color, idx }: { label?: string; displayLabel: any; color: any; idx: any; }) => React.JSX.Element; export {};