import { SizeLegend, type SizeLegendConfigInterface } from '@cosmograph/ui'; import { CosmographData } from "../../../cosmograph/config/interfaces"; import { CosmographExclusiveSelectionComponent } from "../../_abstract/exclusive"; import { CosmographSizeLegendConfig } from './config'; type SizeLegendItem = 'min' | 'max' | undefined; export declare class CosmographSizeLegend extends CosmographExclusiveSelectionComponent { private _uiComponentConfig; private _extent; private _manuallyHidden; private _originalMaxValue; private _pointSizeScaleUpdateHandler; private _linkWidthScaleUpdateHandler; private _pointSizeUpdateHandler; private _linkWidthUpdateHandler; private _currentSizeAccessor?; private _currentExtent?; private get _isLinkAggregateStrategy(); private get _isPointDegreeStrategy(); get domain(): [number, number] | undefined; get defaultConfig(): CosmographSizeLegendConfig; get accessor(): string | undefined; private get _hasClickableEvents(); protected onInitialize(): void; protected createUIComponent(targetElement: HTMLElement): SizeLegend; protected createComponentConfig(config?: CosmographSizeLegendConfig): SizeLegendConfigInterface; protected compareSelectedItem(item?: SizeLegendItem): boolean; protected setSelectedItem(item?: SizeLegendItem): void; private _filterPointsByDegree; protected applyFilter(item?: SizeLegendItem): void; protected getCurrentData(): Promise; protected fetchData(): Promise; protected onConfigUpdate(): Promise; /** @hidden **/ protected shouldUpdateComponentData(): Promise; private _getPointsDegreeExtent; private _getQuantiledExtentDataForColumn; private _remapValues; private _calculateExtent; private _calculateRange; private _getExtentAndRange; private _updateExtents; private _updateLegend; private _updateLabels; private _checkEvents; private _updateLegendVisibility; private _updateSizeMultiplier; private _updateMaxLabel; private _calcVisibleMaxLabel; private _getLabelValue; private _getMappingFunction; private _onSizeScaleUpdated; private _onSizeUpdated; private _createLinkAggregatePredicate; /** * Hides the `CosmographSizeLegend`. */ hide(): void; /** * Shows the `CosmographSizeLegend`. */ show(): void; /** * Removes the `CosmographSizeLegend` instance and cleans up associated event listeners. */ remove(): void; } export type { CosmographSizeLegendConfig };