import type { GeoJSON } from 'geojson'; interface Props { /** * Unique ID for this layer */ id: string; /** * GeoJSON data to display (FeatureCollection, Feature, Geometry, or URL string to fetch from) */ data: GeoJSON | string; /** * Layer type: 'fill', 'line', 'circle', 'symbol', etc. */ type?: 'fill' | 'line' | 'circle' | 'symbol' | 'fill-extrusion' | 'raster' | 'background' | 'heatmap' | 'hillshade'; /** * Paint properties for the layer */ paint?: Record; /** * Layout properties for the layer */ layout?: Record; /** * Layer to insert before (for layer ordering) */ beforeId?: string; /** * Insert this layer beneath the basemap's labels, so place names and other * symbol layers stay readable on top of it. Ignored when `beforeId` is set * (that takes precedence). A no-op on styles with no symbol layers. */ beneathLabels?: boolean; /** * Minimum zoom level to display layer */ minZoom?: number; /** * Maximum zoom level to display layer */ maxZoom?: number; /** * Filter expression for the layer */ filter?: unknown[]; } /** Adds a styled GeoJSON layer (fill, line, circle, symbol…) to a parent TileMap. Used inside TileMap. */ declare const TileMapLayer: import("svelte").Component; type TileMapLayer = ReturnType; export default TileMapLayer;