import type MapBox from 'mapbox-gl'; /** Abstract base class for managing MapBox map layers with add/remove lifecycle. */ export declare abstract class LayerBase { id: string; source: string; constructor(id: string, source: string); /** * Removes and re-adds the layer on the map, optionally hiding it. * @param map - The MapBox map instance * @param show - Whether to show the layer after updating (default true) */ update(map: MapBox.Map, show?: boolean): void; /** Builds the MapBox layer configuration object. */ abstract buildLayer(): T; } //# sourceMappingURL=LayerBase.d.ts.map