import React, { ComponentType } from 'react'; import PanelHeaderActionFactory from 'components/side-panel/panel-header-action'; import { VisibleLayerGroups } from 'reducers'; import { BaseProps } from 'components/common/icons/base'; type LayerGroupSelectorProps = { layers: VisibleLayerGroups; editableLayers: string[]; onChange: (payload: { visibleLayerGroups?: VisibleLayerGroups; topLayerGroups?: VisibleLayerGroups; }) => void; topLayers: VisibleLayerGroups; actionIcons?: Record>>; }; declare function LayerGroupSelectorFactory(PanelHeaderAction: ReturnType): ({ layers, editableLayers, onChange, topLayers, actionIcons }: LayerGroupSelectorProps) => React.JSX.Element; declare namespace LayerGroupSelectorFactory { var deps: (typeof PanelHeaderActionFactory)[]; } export default LayerGroupSelectorFactory;