import React, { ComponentType } from 'react'; import PanelHeaderActionFactory from 'components/side-panel/panel-header-action'; import { MapStyle } from 'reducers'; import { BaseProps } from 'components/common/icons/base'; type MapStyleSelectorProps = { mapStyle: MapStyle; onChange: (payload: string) => void; toggleActive: () => void; isSelecting: boolean; actionIcons?: Record>>; }; declare function MapStyleSelectorFactory(PanelHeaderAction: ReturnType): ({ mapStyle, onChange, toggleActive, isSelecting, actionIcons }: MapStyleSelectorProps) => React.JSX.Element; declare namespace MapStyleSelectorFactory { var deps: (typeof PanelHeaderActionFactory)[]; } export default MapStyleSelectorFactory;