import { type IGeoLayerData } from "../../context/GeoLayersContext.js"; import { type ILegendModel } from "../../types/legend/model.js"; import type { ILayerExecutionRecord } from "../../types/props/geoChart/internal.js"; /** * Options for the multi-layer legend hook. * * @internal */ export interface IUseMultiLayerLegendOptions { /** * Title displayed at the top of the legend panel (typically the insight title). */ title?: string; /** * Numeric symbols used for number formatting in legends (k, M, G, T, ...). */ numericSymbols?: string[]; } /** * Hook to compute multi-layer legend model from layer data. * * @remarks * Aggregates legend data from all layers into a unified model * that can be rendered by MultiLayerLegendPanel. * Legend item visibility state is automatically applied per-layer from context. * * @param layerExecutions - Layer execution records defining order * @param layers - Map of layer ID to layer data * @param options - Optional configuration including title * @returns Multi-layer legend model * * @internal */ export declare function useMultiLayerLegend(layerExecutions: ILayerExecutionRecord[], layers: Map, options?: IUseMultiLayerLegendOptions): ILegendModel; //# sourceMappingURL=useMultiLayerLegend.d.ts.map