import { type IGeoAreaChartConfig } from "../../types/config/areaChart.js"; import type { FillLayerSpecification, FilterSpecification, LineLayerSpecification } from "../common/mapFacade.js"; /** * Creates a filter expression for geographic areas based on selected segment items. * * @remarks * For area charts, each feature stores ALL segment URIs it belongs to in `segment.uris`. * This filter checks if ANY of the selected segment URIs is present in the feature's * segment.uris array, showing the area if there's overlap. * * Uses MapLibre's `any` expression with `in` checks for each selected URI. * * @param selectedSegmentItems - Array of segment URIs to show * @returns MapLibre expression for filtering * * @internal */ export declare function createAreaFilter(selectedSegmentItems: string[]): FilterSpecification; /** * Creates the area fill layer for areas * * @remarks * This layer renders filled polygons representing geographic areas (countries, regions, etc.) * with colors data-driven by measure values. * * @param dataSourceName - Name of the GeoJSON data source * @param config - Area chart configuration * @param layerId - Optional custom layer ID (defaults to DEFAULT_AREA_LAYER_NAME) * @returns MapLibre fill layer specification * * @internal */ export declare function createAreaFillLayer(dataSourceName: string, config: IGeoAreaChartConfig, layerId?: string): FillLayerSpecification; /** * Creates the area outline layer for area borders * * @remarks * This layer renders borders around geographic areas for better visual separation. * * @param dataSourceName - Name of the GeoJSON data source * @param config - Area chart configuration * @param layerId - Optional custom layer ID (defaults to DEFAULT_AREA_OUTLINE_LAYER_NAME) * @returns MapLibre line layer specification * * @internal */ export declare function createAreaOutlineLayer(dataSourceName: string, config: IGeoAreaChartConfig, layerId?: string): LineLayerSpecification; //# sourceMappingURL=layers.d.ts.map