import type { CircleLayerSpecification, ExpressionSpecification, GeoJSONSourceSpecification, MapGeoJSONFeature, SymbolLayerSpecification } from 'maplibre-gl'; import VectorPreviewer from './vector'; import type GeoJsonResource from '../resources/geojson'; export type AddGeoJsonSourceObject = GeoJSONSourceSpecification & { id: string; }; export default class GeoJsonPreviewer extends VectorPreviewer { protected resource: GeoJsonResource; protected getSourceId(): string; protected labelPriority(): { 'symbol-sort-key': ExpressionSpecification; }; protected createSources(): Promise; expandFeatures(features: MapGeoJSONFeature[]): Promise; protected createPolygonLabelLayer(layerId: string): SymbolLayerSpecification; protected createPointLayer(layerId: string): CircleLayerSpecification; protected createPointLabelLayer(layerId: string): SymbolLayerSpecification; }