import { type ReactElement } from "react"; import { type ContentRect } from "react-measure"; import { type IGeoLayerData } from "../../context/GeoLayersContext.js"; import type { IGeoChartConfig } from "../../types/config/unified.js"; import type { ILayerExecutionRecord } from "../../types/props/geoChart/internal.js"; import { type LegendMessageFormatter } from "./legendMessages.js"; /** * Internal container for GeoChart legend overlay. * * @remarks * Encapsulates legend wiring (model aggregation, config/position resolution, and context callbacks) * so `RenderGeoChart` stays focused on layout and map orchestration. * * @internal */ export interface IGeoChartLegendOverlayProps { config: IGeoChartConfig | undefined; chartContainerRect: ContentRect | null; layers: Map; layerExecutions: ILayerExecutionRecord[]; primaryLayer: IGeoLayerData | null; numericSymbols?: string[]; formatMessage?: LegendMessageFormatter; setLegendPanelElementRef?: (element: HTMLDivElement | null) => void; } /** * Renders the multi-layer legend panel as a map overlay. * * @internal */ export declare function GeoChartLegendOverlay({ config, chartContainerRect, layers, layerExecutions, primaryLayer, numericSymbols, formatMessage, setLegendPanelElementRef, }: IGeoChartLegendOverlayProps): ReactElement | null; //# sourceMappingURL=GeoChartLegendOverlay.d.ts.map