import type { Map, CustomLayerInterface } from 'mapbox-gl'; import type { Deck, Layer } from '@deck.gl/core'; export type MapboxLayerProps = Partial & { id: string; renderingMode?: '2d' | '3d'; deck?: Deck; }; export default class MapboxLayer implements CustomLayerInterface { id: string; type: 'custom'; renderingMode: '2d' | '3d'; map: Map | null; deck: Deck | null; props: MapboxLayerProps; constructor(props: MapboxLayerProps); onAdd(map: Map, gl: WebGL2RenderingContext): void; onRemove(): void; setProps(props: MapboxLayerProps): void; render(): void; } //# sourceMappingURL=mapbox-layer.d.ts.map