import { type ContentRect } from "react-measure"; import { type GeoLegendPosition } from "../../types/config/legend.js"; import { type IGeoChartConfig } from "../../types/config/unified.js"; import { type IGeoCommonData } from "../../types/geoData/common.js"; interface IGeoLegendDetails { position: GeoLegendPosition; } /** * Hook to extract legend details from configuration. * * @remarks * Explicit geo corner positions are honored directly. * The shared vis-commons legend heuristics are used only for the geo `"auto"` mode. * * @param config - Geo pushpin chart configuration * @param geoData - Geographic data containing segment information * @param contentRect - Container dimensions from react-measure * @returns Geo legend details or null if container size is still unknown for responsive auto mode * * @internal */ export declare function useLegendDetails(config: IGeoChartConfig | undefined, geoData: IGeoCommonData | null, contentRect: ContentRect | undefined): IGeoLegendDetails | null; export {}; //# sourceMappingURL=useLegendDetails.d.ts.map