import './cs-map.css';
import 'mapbox-gl/dist/mapbox-gl.css';
import mapboxgl from 'mapbox-gl';
import '@mapbox/mapbox-gl-geocoder/dist/mapbox-gl-geocoder.css';
import '@mapbox/mapbox-gl-draw/dist/mapbox-gl-draw.css';
import '@mapbox/mapbox-gl-traffic/mapbox-gl-traffic.css';
import '../../controls/pelias/pelias-geocoder.css';
import { MapDatasource, MapOptions, LayerSource, IMapLayer, IStartStopService, ILayerExtensionType, MapboxStyleDefinition, IMapLayerType } from '../../.';
import { WidgetBase } from '@csnext/cs-client';
import { ClusterSettings } from '../../classes/layer-source';
export declare class CsMap extends WidgetBase {
    static FEATURE_SELECT: string;
    static FEATURE_CONTEXT: string;
    static FEATURE_CREATED: string;
    static FEATURE_DELETED: string;
    static FEATURE_MOUSE_ENTER: string;
    static FEATURE_MOUSE_LEAVE: string;
    static FEATURE_DRAGGED: string;
    static FEATURE_UPDATED: string;
    static FEATURE: string;
    static LEGENDS: string;
    static LAYER_UPDATED: string;
    static LAYER_ACTIVATED: string;
    static LAYER_DISABLED: string;
    static LAYER: string;
    static SOURCE: string;
    static SOURCE_UPDATED: string;
    static DRAWLAYER_ACTIVATED: string;
    static DRAWLAYER_DEACTIVATED: string;
    static DRAWLAYER_START_DRAWING: string;
    static DRAWLAYER: string;
    static MAP_DOUBLE_CLICK: string;
    static MAP_CLICK: string;
    static MAP_CONTEXT: string;
    static MAP_MOVE: string;
    static MAP: string;
    static MAP_LOADED: string;
    static SEARCH_RESULT_SELECT: string;
    static NODE: string;
    static NODE_SELECT: string;
    get manager(): MapDatasource | undefined;
    get options(): MapOptions;
    set options(options: MapOptions);
    get pointPickerActivated(): boolean;
    set pointPickerActivated(value: boolean);
    static LAYER_CREATED: string;
    static layerExtensions: ILayerExtensionType[];
    static layerTypes: IMapLayerType[];
    static serviceTypes: IStartStopService[];
    static AddLayerExtension(type: ILayerExtensionType): void;
    static AddLayerServiceType(type: IStartStopService): void;
    static AddLayerType(type: IMapLayerType): void;
    map: mapboxgl.Map;
    mapDraw: any;
    styles: MapboxStyleDefinition[];
    featurePickerActivated: boolean;
    private _pointerPickerActivated;
    private cursorLocationInfoFormat;
    private cursorLocationInfo;
    private geocoderControl?;
    private geolocatorControl?;
    private peliasControl?;
    private gridControl?;
    private layersWidgetControl?;
    private legendControl?;
    private mapOptions;
    private mapboxStyleSwitcherControl?;
    private rulerControl?;
    private scaleControl?;
    private trafficControl?;
    private navigationControl?;
    private searchLayer?;
    addImage(id: string, url: string): void;
    addSource(source: LayerSource, clusterSettings?: ClusterSettings): void;
    beforeDestroy(): void;
    beforeMount(): void;
    contentLoaded(d: MapDatasource): void;
    destroyed(): void;
    private initStyles;
    initLayerSource(source: LayerSource, clusterSettings?: ClusterSettings): any;
    initMapLayers(): void;
    mounted(): void;
    removeLayer(layer: IMapLayer): void;
    setStyle(style: MapboxStyleDefinition): void;
    setDoubleClickZoom(enabled: boolean): void;
    setBoxZoom(enabled: boolean): void;
    setScrollZoom(enabled: boolean): void;
    setDragPan(enabled: boolean): void;
    showBuildings(enabled: boolean, old?: boolean): void;
    updateNavigationControl(): void;
    showCursorLocationInfo(enabled: 'NONE' | 'LATLON' | 'DMS', old?: 'NONE' | 'LATLON' | 'DMS'): void;
    showGeocoder(enabled: boolean, old?: boolean): void;
    showGeolocator(enabled?: boolean, old?: boolean): void;
    showPelias(enabled?: boolean, old?: boolean): void;
    showGrid(enabled: boolean, old?: boolean): void;
    showLayer(layer: IMapLayer): Promise<IMapLayer>;
    showLayers(enabled?: boolean, old?: boolean): void;
    showFeatureDetails(enabled?: boolean, old?: boolean): void;
    showFeatureList(enabled?: boolean, old?: boolean): void;
    showLayersWidget(enabled: boolean, old?: boolean): void;
    showLegend(enabled: boolean, old?: boolean): void;
    showRuler(enabled: boolean, old?: boolean): void;
    showScale(enabled: boolean, old?: boolean): void;
    showStyles(enabled: boolean, old?: boolean): void;
    showTraffic(enabled: boolean, old?: boolean): void;
    startServices(): Promise<void>;
    zoomLayer(mapLayer: IMapLayer, padding?: number): void;
    private addGeocoder;
    private getStyleUri;
    private loadTranslations;
    private mapLoaded;
    private removeGeocoder;
    private getRouteOptions;
    private updateUrlQueryParams;
}
