import { NBMap as Map } from './map'; import * as MaplibreGL from 'maplibre-gl'; import { DirectionsService, DistanceMatrixService, SnapToRoadsService, NavigationService, OptimizationMvrpService, OptimizationMvrpServiceV2 } from './api/index'; declare const _default: { NavigationService: typeof NavigationService; OptimizationMvrpService: typeof OptimizationMvrpService; OptimizationMvrpServiceV2: typeof OptimizationMvrpServiceV2; DirectionsService: typeof DirectionsService; DistanceMatrixService: typeof DistanceMatrixService; SnapToRoadsService: typeof SnapToRoadsService; Map: typeof Map; now(): number; setNow(timestamp: number): void; restoreNow(): void; isTimeFrozen(): boolean; prewarm(): void; clearPrewarmedResources(): void; addProtocol(customProtocol: string, loadFn: MaplibreGL.AddProtocolAction): void; removeProtocol(customProtocol: string): void; createTileMesh(options: MaplibreGL.CreateTileMeshOptions, forceIndicesSize?: MaplibreGL.IndicesType): MaplibreGL.TileMesh; setRTLTextPlugin(pluginURL: string, lazy: boolean): Promise; getRTLTextPluginStatus(): string; getVersion(): string; getWorkerCount(): number; setWorkerCount(count: number): void; getMaxParallelImageRequests(): number; setMaxParallelImageRequests(numRequests: number): void; getWorkerUrl(): string; setWorkerUrl(value: string): void; importScriptInWorkers(workerUrl: string): Promise; AJAXError: typeof MaplibreGL.AJAXError; config: { MAX_PARALLEL_IMAGE_REQUESTS: number; MAX_PARALLEL_IMAGE_REQUESTS_PER_FRAME: number; MAX_TILE_CACHE_ZOOM_LEVELS: number; REGISTERED_PROTOCOLS: { [x: string]: MaplibreGL.AddProtocolAction; }; WORKER_URL: string; }; CollisionBoxArray: typeof MaplibreGL.CollisionBoxArray; LngLat: typeof MaplibreGL.LngLat; MercatorCoordinate: typeof MaplibreGL.MercatorCoordinate; OverscaledTileID: typeof MaplibreGL.OverscaledTileID; Evented: typeof MaplibreGL.Evented; AlphaImage: typeof MaplibreGL.AlphaImage; TextFit: typeof MaplibreGL.TextFit; GeoJSONFeature: typeof MaplibreGL.GeoJSONFeature; LngLatBounds: typeof MaplibreGL.LngLatBounds; EdgeInsets: typeof MaplibreGL.EdgeInsets; Dispatcher: typeof MaplibreGL.Dispatcher; GeoJSONSource: typeof MaplibreGL.GeoJSONSource; VectorTileSource: typeof MaplibreGL.VectorTileSource; ImageSource: typeof MaplibreGL.ImageSource; CanvasSource: typeof MaplibreGL.CanvasSource; addSourceType: (name: string, SourceType: MaplibreGL.SourceClass) => Promise; ResourceType: typeof MaplibreGL.ResourceType; Painter: typeof MaplibreGL.Painter; FeatureIndex: typeof MaplibreGL.FeatureIndex; Tile: typeof MaplibreGL.Tile; ImageAtlas: typeof MaplibreGL.ImageAtlas; Style: typeof MaplibreGL.Style; StyleLayer: typeof MaplibreGL.StyleLayer; MessageType: typeof MaplibreGL.MessageType; Actor: typeof MaplibreGL.Actor; Hash: typeof MaplibreGL.Hash; DragPanHandler: typeof MaplibreGL.DragPanHandler; MapMouseEvent: typeof MaplibreGL.MapMouseEvent; MapTouchEvent: typeof MaplibreGL.MapTouchEvent; MapWheelEvent: typeof MaplibreGL.MapWheelEvent; AttributionControl: typeof MaplibreGL.AttributionControl; TwoFingersTouchZoomHandler: typeof MaplibreGL.TwoFingersTouchZoomHandler; TwoFingersTouchRotateHandler: typeof MaplibreGL.TwoFingersTouchRotateHandler; TwoFingersTouchPitchHandler: typeof MaplibreGL.TwoFingersTouchPitchHandler; ScrollZoomHandler: typeof MaplibreGL.ScrollZoomHandler; BoxZoomHandler: typeof MaplibreGL.BoxZoomHandler; DragRotateHandler: typeof MaplibreGL.DragRotateHandler; CooperativeGesturesHandler: typeof MaplibreGL.CooperativeGesturesHandler; KeyboardHandler: typeof MaplibreGL.KeyboardHandler; DoubleClickZoomHandler: typeof MaplibreGL.DoubleClickZoomHandler; TwoFingersTouchZoomRotateHandler: typeof MaplibreGL.TwoFingersTouchZoomRotateHandler; NavigationControl: typeof MaplibreGL.NavigationControl; Popup: typeof MaplibreGL.Popup; Marker: typeof MaplibreGL.Marker; GeolocateControl: typeof MaplibreGL.GeolocateControl; LogoControl: typeof MaplibreGL.LogoControl; ScaleControl: typeof MaplibreGL.ScaleControl; FullscreenControl: typeof MaplibreGL.FullscreenControl; TerrainControl: typeof MaplibreGL.TerrainControl; GlobeControl: typeof MaplibreGL.GlobeControl; RasterTileSource: typeof MaplibreGL.RasterTileSource; RasterDEMTileSource: typeof MaplibreGL.RasterDEMTileSource; VideoSource: typeof MaplibreGL.VideoSource; EXTENT: 8192; Color: typeof MaplibreGL.Color; ColorArray: typeof MaplibreGL.ColorArray; ErrorEvent: typeof MaplibreGL.ErrorEvent; Event: typeof MaplibreGL.Event; Formatted: typeof MaplibreGL.Formatted; FormattedSection: typeof MaplibreGL.FormattedSection; MapLibreMap: typeof MaplibreGL.Map; NumberArray: typeof MaplibreGL.NumberArray; Padding: typeof MaplibreGL.Padding; Point: typeof MaplibreGL.Point; ResolvedImage: typeof MaplibreGL.ResolvedImage; VariableAnchorOffsetCollection: typeof MaplibreGL.VariableAnchorOffsetCollection; derefLayers(layers: MaplibreGL.LayerWithRef[]): MaplibreGL.LayerSpecification[]; diff(before: MaplibreGL.StyleSpecification, after: MaplibreGL.StyleSpecification): MaplibreGL.DiffCommand[]; typeOf(value: MaplibreGL.Value): MaplibreGL.Type; isExpression(expression: unknown): boolean; createExpression(expression: unknown, propertySpec?: MaplibreGL.StylePropertySpecification | null, globalState?: Record): MaplibreGL.Result>; isZoomExpression(expression: any): expression is MaplibreGL.ZoomConstantExpression<"source"> | MaplibreGL.ZoomDependentExpression<"source">; createPropertyExpression(expressionInput: unknown, propertySpec: MaplibreGL.StylePropertySpecification, globalState?: Record): MaplibreGL.Result>; normalizePropertyExpression(value: MaplibreGL.PropertyValueSpecification, specification: MaplibreGL.StylePropertySpecification, globalState?: Record): MaplibreGL.StylePropertyExpression; featureFilter(filter: MaplibreGL.FilterSpecification | void, globalState?: Record): MaplibreGL.FeatureFilter; convertFilter(filter: MaplibreGL.FilterSpecification, expectedTypes?: MaplibreGL.ExpectedTypes): MaplibreGL.ExpressionFilterSpecification; isFunction(value: any): boolean; createFunction(parameters: any, propertySpec: any): { kind: string; interpolationType: { name: string; }; interpolationFactor: any; zoomStops: any[]; evaluate({ zoom }: { zoom: any; }, properties: any): any; } | { kind: string; interpolationType: { name: string; base: any; }; interpolationFactor: any; zoomStops: any; evaluate: ({ zoom }: { zoom: any; }) => any; } | { kind: string; evaluate(_: any, feature: any): any; interpolationType?: undefined; interpolationFactor?: undefined; zoomStops?: undefined; }; convertFunction(parameters: any, propertySpec: MaplibreGL.StylePropertySpecification): any; supportsPropertyExpression(spec: MaplibreGL.StylePropertySpecification): boolean; groupByLayout(layers: MaplibreGL.LayerSpecification[], cachedKeys?: Record): MaplibreGL.LayerSpecification[][]; emptyStyle(): MaplibreGL.StyleSpecification; validateStyleMin: typeof MaplibreGL.validateStyleMin; format(style: any, space?: number): string; validate(options: { key: any; value: any; valueSpec: any; styleSpec: any; validateSpec?: any; style: any; objectElementValidators?: any; }): MaplibreGL.ValidationError[]; migrate(style: MaplibreGL.StyleSpecification): MaplibreGL.StyleSpecification; classifyRings(rings: MaplibreGL.RingWithArea[], maxRings?: number): MaplibreGL.RingWithArea[][]; ValidationError: typeof MaplibreGL.ValidationError; ParsingError: typeof MaplibreGL.ParsingError; EvaluationContext: typeof MaplibreGL.EvaluationContext; NullType: MaplibreGL.NullTypeT; ColorType: MaplibreGL.ColorTypeT; ProjectionDefinitionType: MaplibreGL.ProjectionDefinitionTypeT; FormattedType: MaplibreGL.FormattedTypeT; ProjectionDefinition: typeof MaplibreGL.ProjectionDefinition; Interpolate: typeof MaplibreGL.Interpolate; StyleExpression: typeof MaplibreGL.StyleExpression; ZoomConstantExpression: typeof MaplibreGL.ZoomConstantExpression; ZoomDependentExpression: typeof MaplibreGL.ZoomDependentExpression; StylePropertyFunction: typeof MaplibreGL.StylePropertyFunction; expressions: MaplibreGL.ExpressionRegistry; Step: typeof MaplibreGL.Step; FormatExpression: typeof MaplibreGL.FormatExpression; Literal: typeof MaplibreGL.Literal; CompoundExpression: typeof MaplibreGL.CompoundExpression; v8: any; expression: { StyleExpression: typeof MaplibreGL.StyleExpression; StylePropertyFunction: typeof MaplibreGL.StylePropertyFunction; ZoomConstantExpression: typeof MaplibreGL.ZoomConstantExpression; ZoomDependentExpression: typeof MaplibreGL.ZoomDependentExpression; createExpression: typeof MaplibreGL.createExpression; createPropertyExpression: typeof MaplibreGL.createPropertyExpression; isExpression: typeof MaplibreGL.isExpression; isExpressionFilter: (filter: any) => filter is MaplibreGL.ExpressionFilterSpecification; isZoomExpression: typeof MaplibreGL.isZoomExpression; normalizePropertyExpression: typeof MaplibreGL.normalizePropertyExpression; }; visit: { eachLayer: (style: MaplibreGL.StyleSpecification, callback: (_: MaplibreGL.LayerSpecification) => void) => void; eachProperty: (style: MaplibreGL.StyleSpecification, options: { paint?: boolean; layout?: boolean; }, callback: MaplibreGL.PropertyCallback) => void; eachSource: (style: MaplibreGL.StyleSpecification, callback: (_: MaplibreGL.SourceSpecification) => void) => void; }; latest: any; createVisibilityExpression: typeof MaplibreGL.createVisibilityExpression; interpolates: { color: typeof MaplibreGL.Color.interpolate; number: (from: number, to: number, t: number) => number; padding: typeof MaplibreGL.Padding.interpolate; numberArray: typeof MaplibreGL.NumberArray.interpolate; colorArray: typeof MaplibreGL.ColorArray.interpolate; variableAnchorOffsetCollection: typeof MaplibreGL.VariableAnchorOffsetCollection.interpolate; array: (from: T, to: T, t: number) => T; }; function: { convertFunction: typeof MaplibreGL.convertFunction; createFunction: typeof MaplibreGL.createFunction; isFunction: typeof MaplibreGL.isFunction; }; toString: typeof MaplibreGL.toString; }; export default _default; //# sourceMappingURL=index.d.ts.map