import { GeoJsonLayer } from '@deck.gl/layers'; import { LayerGeneralProps } from './map.layers.models'; /** * @deprecated Used by RenderingMap which is deprecated and will be removed in future versions. Use MapSet and related components instead. * Creates a GeoJsonLayer with the specified properties. * * @param {LayerGeneralProps} param0 - The properties for creating the GeoJsonLayer. * @param {Object} param0.sourceNode - The source node containing configuration and key. * @param {boolean} param0.isActive - A flag indicating whether the layer is active. * @param {string} param0.key - Layer identifier. * @param {number} param0.opacity - Layer opacity. * @param {Object} param0.selection - Selection object containing featureKeys, distinctColours, and featureKeyColourIndexPairs. * @returns {GeoJsonLayer} The created GeoJsonLayer instance. * * @todo This is only a first draft of the GeoJSON layer implementation. * TODO: Add support for fill styling, point sizes, and other styling options. * TODO: featureIdProperty should be defined and validated in the datasource configuration, not just in geojsonOptions. */ export declare const createGeojsonLayer: ({ sourceNode, isActive, isInteractive, key, opacity, selection, }: LayerGeneralProps) => GeoJsonLayer;