import type { LayerSpecification, SymbolLayerSpecification } from 'maplibre-gl'; import GeoJsonPreviewer from './geojson'; import type IndexMapMosaic from '../index-map-mosaic'; import type { Layer, LayerState, PreviewStyleLayer } from '../layers'; import type { LegendEntry } from '../legend'; import type OpenIndexMapResource from '../resources/openindexmap'; export default class OpenIndexMapPreviewer extends GeoJsonPreviewer { protected resource: OpenIndexMapResource; protected mosaic: IndexMapMosaic | undefined; private mosaicSearch; private outlinesDrawn; private sheetLabelMinZoom; protected outlineLayerId: string | undefined; protected getDefaultOpacity(): number; protected getLabelOpacity(): number; protected previewLayerTitle(_layerId: string): string; preview(): Promise; clearPreview(): Promise; protected createLayers(): Promise; protected createPolygonLabelLayer(layerId: string): SymbolLayerSpecification; protected createPreviewLayers(layerId: string, geometry: LayerSpecification[], labels: LayerSpecification[]): Layer[]; private findMosaic; protected loadMosaic(): Promise; protected createMosaic(collection: unknown): Promise; private showMosaic; private mosaicHost; protected applyStyleLayerState(styleLayer: PreviewStyleLayer, state: LayerState): void; get visibleLayerIds(): string[]; get legendEntries(): LegendEntry[]; private get boundariesDrawn(); }