import { _ModuleSupport } from 'ag-charts-community';
import type { Point } from 'ag-charts-core';
import type { AgMapShapeSeriesOptions, AgMapShapeSeriesStyle } from 'ag-charts-types';
import { GeoGeometry } from '../map-util/geoGeometry';
import { LonLatBBox } from '../map-util/lonLatBbox';
import { TopologySeries } from '../map-util/topologySeries';
import type { ITopology } from '../map-util/topologyTypes';
import { type MapShapeNodeDatum, type MapShapeNodeLabelDatum, MapShapeSeriesProperties } from './mapShapeSeriesProperties';
interface MapShapeNodeDataContext extends _ModuleSupport.DataModelSeriesNodeDataContext<MapShapeNodeDatum, MapShapeNodeLabelDatum> {
}
export declare class MapShapeSeries extends TopologySeries<MapShapeNodeDatum, AgMapShapeSeriesOptions, MapShapeSeriesProperties, MapShapeNodeLabelDatum, MapShapeNodeDataContext> implements ITopology {
    static readonly className = "MapShapeSeries";
    static readonly type: "map-shape";
    scale: _ModuleSupport.MercatorScale | undefined;
    topologyBounds: LonLatBBox | undefined;
    properties: MapShapeSeriesProperties;
    private _chartTopology?;
    getNodeData(): MapShapeNodeDatum[] | undefined;
    private get topology();
    get hasData(): boolean;
    private readonly colorScale;
    private readonly itemGroup;
    private readonly itemLabelGroup;
    datumSelection: _ModuleSupport.Selection<GeoGeometry, MapShapeNodeDatum>;
    private labelSelection;
    private highlightDatumSelection;
    private highlightLabelSelection;
    contextNodeData?: MapShapeNodeDataContext;
    constructor(moduleCtx: _ModuleSupport.ModuleContext);
    renderToOffscreenCanvas(): boolean;
    setChartTopology(topology: any): void;
    setZIndex(zIndex: number): boolean;
    private isLabelEnabled;
    private nodeFactory;
    processData(dataController: _ModuleSupport.DataController): Promise<void>;
    private isColorScaleValid;
    private getLabelLayout;
    private getLabelDatum;
    private resolveColumn;
    private resolveShapeDataColumns;
    private warnMissingGeometries;
    private previousLabelLayouts;
    createNodeData(): {
        itemId: string;
        nodeData: MapShapeNodeDatum[];
        labelData: MapShapeNodeLabelDatum[];
    } | undefined;
    updateSelections(): void;
    update(): void;
    private getHighlightLabelData;
    private updateDatumSelection;
    protected getItemStyle({ datumIndex, datum, colorValue }: Partial<MapShapeNodeDatum>, isHighlight: boolean): Required<AgMapShapeSeriesStyle>;
    private makeItemStylerParams;
    private updateDatumStyles;
    private updateDatumNodes;
    private updateLabelSelection;
    private updateLabelNodes;
    resetAnimation(): void;
    pickNodeClosestDatum({ x, y }: Point): _ModuleSupport.SeriesNodePickMatch | undefined;
    private _previousDatumMidPoint;
    datumMidPoint(datum: _ModuleSupport.SeriesNodeDatum<_ModuleSupport.DatumIndexType>): Point | undefined;
    private legendItemSymbol;
    getLegendData(legendType: _ModuleSupport.ChartLegendType): _ModuleSupport.CategoryLegendDatum[] | _ModuleSupport.GradientLegendDatum[];
    getTooltipContent(datumIndex: number): _ModuleSupport.TooltipContent | undefined;
    protected computeFocusBounds(opts: _ModuleSupport.PickFocusInputs): _ModuleSupport.Path | undefined;
    protected hasItemStylers(): boolean;
}
export {};
