import type { IAvailableLegends, IGeoLegendItem } from "../../types/common/legends.js"; import type { IPushpinGeoData } from "../../types/geoData/pushpin.js"; import { type ILegendSection, type ILegendSizeAnchorItem } from "../../types/legend/model.js"; /** * Computes size anchors from pushpin size data. * * @remarks * Creates 2-3 representative size anchors (min, mid, max) based on the * actual data range. Returns an empty array if no size data is available. * * @param geoData - Pushpin geo data with optional size measure * @param numericSymbols - Numeric symbols used for compact formatting (k, M, G, ...) * @returns Array of size anchor items * * @internal */ export declare function computeSizeAnchors(geoData: IPushpinGeoData, numericSymbols?: string[]): ILegendSizeAnchorItem[]; /** * Input parameters for computing pushpin legend section. * * @internal */ export interface IComputePushpinLegendParams { layerId: string; layerName: string; geoData: IPushpinGeoData; legendItems: IGeoLegendItem[]; availableLegends: IAvailableLegends; numericSymbols?: string[]; colorScaleBaseColor?: string; } /** * Computes legend section for a pushpin layer. * * @remarks * Creates a legend section with size and/or color groups based on * available data. Size groups show min/mid/max anchors, color groups * show categorical items with swatches. * Attribute-only layers render a non-interactive color group with the configured layer color. * Returns null when there are no legend groups to display. * * @param params - Parameters for computation * @returns Legend section for the pushpin layer, or null if no legend data * * @internal */ export declare function computePushpinLegend(params: IComputePushpinLegendParams): ILegendSection | null; //# sourceMappingURL=computePushpinLegend.d.ts.map