import { ImageSource, StackLayout } from '@nativescript/core'; import { AddExtrusionOptions, AddGeoJsonClusteredOptions, AddPolygonOptions, AddPolylineOptions, AddSourceOptions, AnimateCameraOptions, DeleteOfflineRegionOptions, DownloadOfflineRegionOptions, Feature, LatLng, ListOfflineRegionsOptions, MapStyle, MapboxApi, MapboxCommon, MapboxMarker, MapboxViewBase, OfflineRegion, QueryRenderedFeaturesOptions, QuerySourceFeaturesOptions, SetCenterOptions, SetViewportOptions, SetZoomLevelOptions, ShowOptions, TrackUserOptions, UpdateSourceOptions, UserLocation, telemetryProperty } from './common'; export * from './common'; export declare class MapboxView extends MapboxViewBase { [telemetryProperty.setNative]: (value: boolean) => void; private nativeMapView; mapbox: Mapbox; private settings; private initialized; private initCountHack; setConfig(settings: any): void; getNativeMapView(): any; createNativeView(): object; onLoaded(): void; initNativeView(): void; disposeNativeView(): Promise; getMapboxApi(): any; initMap(): void; onLayout(left: number, top: number, right: number, bottom: number): void; } export declare class Mapbox extends MapboxCommon implements MapboxApi { private _mapboxViewInstance; private bridgeInstance; private eventCallbacks; private _markers; private _observerTokens; _reusableCalloutView: StackLayout; private _programmaticMapView; setMapboxViewInstance(m: any): void; onMapEvent(eventName: string, id: string, callback: any, nativeMapView?: any): void; offMapEvent(eventName: string, id: string, nativeMapView?: any): void; private checkForClickEvent; initEventHandlerShim(settings: any, mapboxNativeViewInstance: any): void; show(options: ShowOptions): Promise; hide(): Promise; unhide(): Promise; destroy(nativeMap?: any): Promise; addImage(imageId: string, imagePath: string, nativeMap?: any): Promise; removeImage(imageId: string, nativeMap?: any): Promise; addMarkers(markers: MapboxMarker[], nativeMap?: any): Promise; selectedMarker: MapboxMarker; isMarkerSelected(marker: MapboxMarker): boolean; deselectMarker(marker: MapboxMarker): Promise; selectMarker(marker: MapboxMarker): Promise; removeMarkers(ids?: any, nativeMap?: any): Promise; updateMarkerPosition(markerId: string, lat: number, lng: number, nativeMap?: any): Promise; addPolyline(options: AddPolylineOptions, nativeMap?: any): Promise; addLinePoint(id: string, lnglat: any, sourceId?: string, nativeMap?: any): Promise; removePolylines(ids?: string[], nativeMap?: any): Promise; addPolygon(options: AddPolygonOptions, nativeMap?: any): Promise; removePolygons(ids?: string[], nativeMap?: any): Promise; addGeoJsonClustered(options: AddGeoJsonClusteredOptions, nativeMap?: any): Promise; addExtrusion(options: AddExtrusionOptions, nativeMap?: any): Promise; setCenter(options: SetCenterOptions, nativeMap?: any): Promise; getCenter(nativeMap?: any): Promise; setZoomLevel(options: SetZoomLevelOptions, nativeMap?: any): Promise; getZoomLevel(nativeMap?: any): Promise; setMapStyle(style: string | MapStyle, nativeMap?: any): Promise; animateCamera(options: AnimateCameraOptions, nativeMap?: any): Promise; queryRenderedFeatures(options: QueryRenderedFeaturesOptions, nativeMap?: any): Promise; querySourceFeatures(sourceId: string, options?: QuerySourceFeaturesOptions, nativeMap?: any): Promise; addSource(id: string, options: AddSourceOptions, nativeMap?: any): Promise; updateSource(id: string, options: UpdateSourceOptions, nativeMap?: any): Promise; removeSource(id: string, nativeMap?: any): Promise; addLayer(style: any, belowLayerId?: string, nativeMap?: any): Promise; removeLayer(id: string, nativeMap?: any): Promise; getLayer(layerId: string, nativeMap?: any): Promise; getLayers(nativeMap?: any): Promise; getImage(imageId: string, nativeMap?: any): Promise; createCalloutView(marker: MapboxMarker): StackLayout; showCalloutForMarkerById(markerId: string): Promise; hideCalloutForMarkerById(markerId: string): void; toggleCalloutForMarkerById(markerId: string): void; onNativeAnnotationTap(userInfo: any): void; pushToken: (t: any) => number; addNotificationCenterObserver(event: any, map: any, callback: any): void; setOnEventChangeListener(event: string, listener: (info: any) => void, nativeMap?: any): Promise; setOnCameraChangeListener(listener: (info: any, animated?: any) => void, nativeMap?: any): Promise; setOnMapClickListener(listener: (data: LatLng) => void, nativeMap?: any): Promise; setOnMapLongClickListener(listener: (data: LatLng) => void, nativeMap?: any): Promise; setOnScrollListener(listener: (info: any) => void, nativeMap?: any): Promise; setOnMoveBeginListener(listener: (info: any) => void, nativeMap?: any): Promise; setOnMoveEndListener(listener: (info: any) => void, nativeMap?: any): Promise; setOnFlingListener(listener: (info: any) => void, nativeMap?: any): Promise; setOnCameraMoveCancelListener(listener: (info: any) => void, nativeMap?: any): Promise; setOnMapIdleListener(listener: () => void, nativeMap?: any): Promise; downloadOfflineRegion(options: DownloadOfflineRegionOptions, nativeMap?: any): Promise; listOfflineRegions(options?: ListOfflineRegionsOptions, nativeMap?: any): Promise; deleteOfflineRegion(options: DeleteOfflineRegionOptions, nativeMap?: any): Promise; showUserLocationMarker(options: Partial): Promise; hideUserLocationMarker(nativeMap?: any): Promise; forceUserLocationUpdate(nativeMap?: any): Promise; trackUser(options: TrackUserOptions, nativeMap?: any): Promise; getTilt(nativeMap?: any): Promise; setTilt(options: { tilt: number; animated?: boolean; }, nativeMap?: any): Promise; getUserLocation(nativeMap?: any): Promise; setViewport(options: SetViewportOptions, nativeMap?: any): Promise; getViewport(nativeMap?: any): Promise; project(data: LatLng, nativeMap?: any): any; projectBack(screenCoordinate: { x: number; y: number; }, nativeMap?: any): LatLng; onStart(nativeMap?: any): Promise; onStop(nativeMap?: any): Promise; onLowMemory(nativeMap?: any): Promise; onDestroy(nativeMap?: any): Promise; }