import React, { ComponentType } from 'react'; import MapControlPanelFactory from './map-control-panel'; import MapLegendFactory from './map-legend'; import { MapControls } from 'reducers'; import { Layer } from 'layers'; interface MapLegendPanelIcons { legend: ComponentType; } export type MapLegendPanelProps = { layers: ReadonlyArray; scale: number; onToggleMapControl: (control: string) => void; isExport: boolean; logoComponent: Element; actionIcons: MapLegendPanelIcons; mapControls: MapControls; mapHeight?: number; }; declare function MapLegendPanelFactory(MapControlPanel: any, MapLegend: any): React.FC; declare namespace MapLegendPanelFactory { var deps: (typeof MapControlPanelFactory | typeof MapLegendFactory)[]; } export default MapLegendPanelFactory;