import React from 'react'; import Layer, { LayerBaseConfig, VisualChannel, VisualChannelDescription } from 'layers/base-layer'; interface StyledMapControlLegendProps { width?: number; last?: boolean; } export declare const StyledMapControlLegend: import("styled-components").StyledComponent<"div", any, StyledMapControlLegendProps, never>; export declare const VisualChannelMetric: ({ name }: { name: any; }) => React.JSX.Element; export type LayerSizeLegendProps = { label: string; name: string; }; /** @type {typeof import('./map-legend').LayerSizeLegend} */ export declare const LayerSizeLegend: React.FC; export type SingleColorLegendProps = { width: number; color: string; }; /** @type {typeof import('./map-legend').SingleColorLegend} */ export declare const SingleColorLegend: React.FC; export type LayerColorLegendProps = { description: VisualChannelDescription; config: LayerBaseConfig; width: number; colorChannel: VisualChannel; }; /** @type {typeof import('./map-legend').LayerColorLegend} */ export declare const LayerColorLegend: React.FC; export type LayerLegendHeaderProps = { layer: Layer; options?: { showLayerName?: boolean; }; }; export declare function LayerLegendHeaderFactory(): React.FC; export type LayerLegendContentProps = { layer: Layer; containerW: number; }; export declare function LayerLegendContentFactory(): React.FC; export type MapLegendProps = { layers?: ReadonlyArray; width?: number; mapHeight?: number; options?: { showLayerName?: boolean; }; }; declare function MapLegendFactory(LayerLegendHeader: any, LayerLegendContent: any): React.FC; declare namespace MapLegendFactory { var deps: (typeof LayerLegendHeaderFactory | typeof LayerLegendContentFactory)[]; } export default MapLegendFactory;