/// <reference types="mapbox-gl" />
import { IWidget, MessageBusHandle } from '@csnext/cs-core';
import './layer-legend-component.css';
import { Vue } from 'vue-property-decorator';
import { MapDatasource, IMapLayer } from '../..';
import '../slider-control';
import { FeatureTypes, LayerLegend } from '@csnext/cs-data';
export declare class LayerLegendComponent extends Vue {
    widget: IWidget;
    manager: MapDatasource;
    busHandle?: MessageBusHandle;
    layer: IMapLayer | undefined;
    activeType?: any;
    types?: FeatureTypes;
    map?: mapboxgl.Map;
    layers: IMapLayer[];
    activeLayer: IMapLayer | any;
    activeLegend: LayerLegend | any;
    value2: number[];
    selectLayer(layer: IMapLayer): void;
    mounted(): void;
    initFilter(layer: IMapLayer, legend: LayerLegend): void;
    resetFilter(layer: IMapLayer): void;
    beforeDestroy(): void;
    private removeLegend;
    private getStopColor;
    private updateFilterList;
    private removeFilter;
    private updateLegendList;
    private applyFilter;
}
