import { RangeColorLegend, type RangeColorLegendConfigInterface } from '@cosmograph/ui'; import { CosmographData } from "../../../../cosmograph/config/interfaces"; import { CosmographExclusiveSelectionComponent } from "../../../_abstract/exclusive"; import { CosmographRangeColorLegendConfig } from './config'; type RangeLegendItem = 'min' | 'max' | undefined; export declare class CosmographRangeColorLegend extends CosmographExclusiveSelectionComponent { private _uiComponentConfig; private _linkColorUpdateHandler; private _pointColorUpdateHandler; private _extent; private _currentColorAccessor?; private _currentExtent?; private get _isLinkAggregateStrategy(); private get _isPointDegreeStrategy(); get domain(): [number, number] | undefined; get defaultConfig(): CosmographRangeColorLegendConfig; get accessor(): string | undefined; private get _hasClickableEvents(); protected onInitialize(): void; protected createUIComponent(targetElement: HTMLElement): RangeColorLegend; protected createComponentConfig(config?: CosmographRangeColorLegendConfig): RangeColorLegendConfigInterface; protected compareSelectedItem(item?: RangeLegendItem): boolean; protected setSelectedItem(item?: RangeLegendItem): void; private _filterPointsByDegree; protected applyFilter(item?: RangeLegendItem): void; protected getCurrentData(): Promise; protected fetchData(): Promise; protected onConfigUpdate(): Promise; /** @hidden **/ shouldUpdateComponentData(): Promise; private _createLinkAggregatePredicate; private _onColorUpdated; private _getPointsDegreeExtent; private _getQuantiledExtentDataForColumn; private _calculateExtent; private _calculateRange; private _remapValues; private _getExtentAndRange; private _getMappingFunction; private _updateExtents; private _checkEvents; private _updateLabels; private _updateLegend; private _getLabelValue; /** * Hides the `CosmographRangeColorLegend` instance. */ hide(): void; /** * Shows the `CosmographRangeColorLegend` instance. */ show(): void; /** * Removes the `CosmographRangeColorLegend` instance by destroying it. */ remove(): void; } export type { CosmographRangeColorLegendConfig };