import React, { Dispatch } from 'react'; import { OnErrorCallBack, OnSuccessCallBack } from 'actions/provider-actions'; import * as VisStateActions from 'actions/vis-state-actions'; import * as MapStateActions from 'actions/map-state-actions'; import * as MapStyleActions from 'actions/map-style-actions'; import * as UIStateActions from 'actions/ui-state-actions'; import * as ProviderActions from 'actions/provider-actions'; type KeplerGlActions = { visStateActions: typeof VisStateActions; mapStateActions: typeof MapStateActions; mapStyleActions: typeof MapStyleActions; uiStateActions: typeof UIStateActions; providerActions: typeof ProviderActions; }; import SidePanelFactory from './side-panel'; import MapContainerFactory from './map-container'; import MapsLayoutFactory from './maps-layout'; import BottomWidgetFactory from './bottom-widget'; import ModalContainerFactory from './modal-container'; import PlotContainerFactory from './plot-container'; import NotificationPanelFactory from './notification-panel'; import GeoCoderPanelFactory from './geocoder-panel'; import { KeplerGlState } from 'reducers/core'; import { Provider } from 'cloud-providers'; export declare const mapFieldsSelector: (props: KeplerGLProps) => { getMapboxRef: () => React.RefObject; mapboxApiAccessToken: string; mapboxApiUrl: string; mapState: import("..").MapState; mapStyle: import("..").MapStyle; onDeckInitialized: () => void; onViewStateChange: () => void; deckGlProps: object; uiStateActions: typeof UIStateActions; visStateActions: typeof VisStateActions; mapStateActions: typeof MapStateActions; editor: import("..").Editor; datasets: import("..").Datasets; layers: import("../layers/base-layer").default[]; layerOrder: number[]; layerData: any[]; layerBlending: string; filters: import("..").Filter[]; interactionConfig: import("..").InteractionConfig; hoverInfo: any; clicked: any; mousePos: any; animationConfig: import("..").AnimationConfig; activeSidePanel: string; mapControls: import("..").MapControls; readOnly: boolean; locale: string; popupSettings: any; }; export declare function getVisibleDatasets(datasets: any): {}; export declare const sidePanelSelector: (props: KeplerGLProps, availableProviders: any, filteredDatasets: any) => { appName: string; version: string; appWebsite: any; mapStyle: import("..").MapStyle; onSaveMap: () => void; uiState: import("..").UiState; mapStyleActions: typeof MapStyleActions; visStateActions: typeof VisStateActions; uiStateActions: typeof UIStateActions; mapStateActions: typeof MapStateActions; datasets: any; filters: import("..").Filter[]; layers: import("../layers/base-layer").default[]; layerOrder: number[]; layerClasses: { point: typeof import("../layers/point-layer/point-layer").default; arc: typeof import("../layers/arc-layer/arc-layer").default; line: typeof import("../layers/line-layer/line-layer").default; grid: typeof import("../layers/grid-layer/grid-layer").default; hexagon: typeof import("../layers/hexagon-layer/hexagon-layer").default; geojson: typeof import("../layers/geojson-layer/geojson-layer").default; cluster: typeof import("../layers/cluster-layer/cluster-layer").default; icon: typeof import("../layers/icon-layer/icon-layer").default; heatmap: typeof import("../layers/heatmap-layer/heatmap-layer").default; hexagonId: typeof import("../layers/h3-hexagon-layer/h3-hexagon-layer").default; "3D": typeof import("../layers/scenegraph-layer/scenegraph-layer").default; trip: typeof import("../layers/trip-layer/trip-layer").default; s2: typeof import("../layers/s2-geometry-layer/s2-geometry-layer").default; }; interactionConfig: import("..").InteractionConfig; mapInfo: import("..").MapInfo; layerBlending: string; width: number; availableProviders: any; mapSaved: string; }; export declare const plotContainerSelector: (props: KeplerGLProps) => { width: number; height: number; exportImageSetting: import("..").ExportImage; mapFields: { getMapboxRef: () => React.RefObject; mapboxApiAccessToken: string; mapboxApiUrl: string; mapState: import("..").MapState; mapStyle: import("..").MapStyle; onDeckInitialized: () => void; onViewStateChange: () => void; deckGlProps: object; uiStateActions: typeof UIStateActions; visStateActions: typeof VisStateActions; mapStateActions: typeof MapStateActions; editor: import("..").Editor; datasets: import("..").Datasets; layers: import("../layers/base-layer").default[]; layerOrder: number[]; layerData: any[]; layerBlending: string; filters: import("..").Filter[]; interactionConfig: import("..").InteractionConfig; hoverInfo: any; clicked: any; mousePos: any; animationConfig: import("..").AnimationConfig; activeSidePanel: string; mapControls: import("..").MapControls; readOnly: boolean; locale: string; popupSettings: any; }; addNotification: (notification: object) => { payload: object; type: "@@kepler.gl/ADD_NOTIFICATION"; }; setExportImageSetting: (newSetting: Partial) => { payload: Partial; type: "@@kepler.gl/SET_EXPORT_IMAGE_SETTING"; }; setExportImageDataUri: (dataUri: string) => { payload: string; type: "@@kepler.gl/SET_EXPORT_IMAGE_DATA_URI"; }; setExportImageError: (error: Error) => { payload: Error; type: "@@kepler.gl/SET_EXPORT_IMAGE_ERROR"; }; splitMaps: import("..").SplitMap[]; maskPolygon: any; }; export declare const isSplitSelector: (props: KeplerGLProps) => boolean; export declare const bottomWidgetSelector: (props: KeplerGLProps, theme: any) => { filters: import("..").Filter[]; datasets: import("..").Datasets; uiState: import("..").UiState; layers: import("../layers/base-layer").default[]; animationConfig: import("..").AnimationConfig; visStateActions: typeof VisStateActions; toggleModal: (id: string) => { payload: string; type: "@@kepler.gl/TOGGLE_MODAL"; }; sidePanelWidth: any; }; export declare const modalContainerSelector: (props: KeplerGLProps, rootNode: any) => { appName: string; mapStyle: import("..").MapStyle; visState: import("..").VisState; mapState: import("..").MapState; uiState: import("..").UiState; providerState: import("../reducers/provider-state-updaters").ProviderState; mapboxApiAccessToken: string; mapboxApiUrl: string; visStateActions: typeof VisStateActions; uiStateActions: typeof UIStateActions; mapStyleActions: typeof MapStyleActions; providerActions: typeof ProviderActions; rootNode: any; cloudProviders: any[]; onExportToCloudSuccess: OnSuccessCallBack; onLoadCloudMapSuccess: OnSuccessCallBack; onLoadCloudMapError: OnErrorCallBack; onExportToCloudError: OnErrorCallBack; }; export declare const geoCoderPanelSelector: (props: KeplerGLProps) => { isGeocoderEnabled: boolean; mapboxApiAccessToken: string; mapState: import("..").MapState; updateVisData: typeof VisStateActions.updateVisData; removeDataset: typeof VisStateActions.removeDataset; updateMap: (payload: import("..").Viewport) => { payload: import("..").Viewport; type: "@@kepler.gl/UPDATE_MAP"; }; }; export declare const notificationPanelSelector: (props: KeplerGLProps) => { removeNotification: (id: string) => { payload: string; type: "@@kepler.gl/REMOVE_NOTIFICATION"; }; notifications: import("..").Notifications[]; }; export declare const DEFAULT_KEPLER_GL_PROPS: { mapStyles: any[]; mapStylesReplaceDefault: boolean; mapboxApiUrl: string; width: number; height: number; appName: string; version: string; sidePanelWidth: number; theme: {}; cloudProviders: any[]; readOnly: boolean; }; type KeplerGLBasicProps = { mapboxApiAccessToken: string; mapboxApiUrl?: string; id: string; width?: number; height?: number; appWebsite?: any; onSaveMap?: () => void; onViewStateChange?: () => void; onDeckInitialized?: () => void; onKeplerGlInitialized?: () => void; getMapboxRef?: () => React.RefObject; mapStyles?: { id: string; style?: object; }[]; mapStylesReplaceDefault?: boolean; appName?: string; version?: string; sidePanelWidth?: number; theme?: object; cloudProviders?: Provider[]; deckGlProps?: object; onLoadCloudMapSuccess?: OnSuccessCallBack; onLoadCloudMapError?: OnErrorCallBack; onExportToCloudSuccess?: OnSuccessCallBack; onExportToCloudError?: OnErrorCallBack; readOnly?: boolean; localeMessages?: { [key: string]: { [key: string]: string; }; }; dispatch: Dispatch; popupSettings: any; maskPolygon: any; }; type KeplerGLProps = KeplerGlState & KeplerGlActions & KeplerGLBasicProps; declare function KeplerGlFactory(BottomWidget: ReturnType, GeoCoderPanel: ReturnType, MapContainer: ReturnType, MapsLayout: ReturnType, ModalContainer: ReturnType, SidePanel: ReturnType, PlotContainer: ReturnType, NotificationPanel: ReturnType): React.ComponentType KeplerGlState; }>; declare namespace KeplerGlFactory { var deps: (typeof SidePanelFactory | typeof MapContainerFactory | typeof MapsLayoutFactory | typeof BottomWidgetFactory | typeof ModalContainerFactory | typeof PlotContainerFactory | typeof NotificationPanelFactory | typeof GeoCoderPanelFactory)[]; } export declare function mapStateToProps(state: KeplerGlState, props: KeplerGLProps): { visState: import("..").VisState; mapStyle: import("..").MapStyle; mapState: import("..").MapState; uiState: import("..").UiState; providerState: import("../reducers/provider-state-updaters").ProviderState; visStateActions: typeof VisStateActions; mapStateActions: typeof MapStateActions; mapStyleActions: typeof MapStyleActions; uiStateActions: typeof UIStateActions; providerActions: typeof ProviderActions; mapboxApiAccessToken: string; mapboxApiUrl?: string; id: string; width?: number; height?: number; appWebsite?: any; onSaveMap?: () => void; onViewStateChange?: () => void; onDeckInitialized?: () => void; onKeplerGlInitialized?: () => void; getMapboxRef?: () => React.RefObject; mapStyles?: { id: string; style?: object; }[]; mapStylesReplaceDefault?: boolean; appName?: string; version?: string; sidePanelWidth?: number; theme?: object; cloudProviders?: Provider[]; deckGlProps?: object; onLoadCloudMapSuccess?: OnSuccessCallBack; onLoadCloudMapError?: OnErrorCallBack; onExportToCloudSuccess?: OnSuccessCallBack; onExportToCloudError?: OnErrorCallBack; readOnly?: boolean; localeMessages?: { [key: string]: { [key: string]: string; }; }; dispatch: React.Dispatch; popupSettings: any; maskPolygon: any; }; export default KeplerGlFactory;