import { CustomLayerAdapter, LayerState } from 'maplibre-gl-layer-control'; import { PlanetaryComputerControl } from '../core/PlanetaryComputerControl'; /** * Adapter for integrating Planetary Computer raster layers with maplibre-gl-layer-control. * * @example * ```typescript * import { PlanetaryComputerControl, PlanetaryComputerLayerAdapter } from 'maplibre-gl-planetary-computer'; * import { LayerControl } from 'maplibre-gl-layer-control'; * * const pcControl = new PlanetaryComputerControl({ ... }); * map.addControl(pcControl, 'top-right'); * * const pcAdapter = new PlanetaryComputerLayerAdapter(pcControl); * const layerControl = new LayerControl({ * customLayerAdapters: [pcAdapter], * }); * map.addControl(layerControl, 'top-left'); * ``` */ export declare class PlanetaryComputerLayerAdapter implements CustomLayerAdapter { readonly type = "planetary-computer"; private _control; private _changeCallbacks; private _unsubscribe?; constructor(control: PlanetaryComputerControl); private _setupEventListeners; getLayerIds(): string[]; getLayerState(layerId: string): LayerState | null; setVisibility(layerId: string, visible: boolean): void; setOpacity(layerId: string, opacity: number): void; getName(layerId: string): string; getSymbolType(_layerId: string): string; removeLayer(layerId: string): void; onLayerChange(callback: (event: 'add' | 'remove', layerId: string) => void): () => void; destroy(): void; } //# sourceMappingURL=PlanetaryComputerLayerAdapter.d.ts.map