import { type GeoLegendPosition } from "../../types/config/legend.js"; import { type IGeoChartConfig } from "../../types/config/unified.js"; /** * Legend configuration computed from geo config. * * @internal */ export interface ILegendConfig { /** * Whether legend should be rendered */ enabled: boolean; /** * Legend position relative to the chart */ position: GeoLegendPosition; /** * Responsive behavior setting */ responsive: boolean | "autoPositionWithPopup"; } /** * Hook to compute legend configuration from geo config. * * @remarks * This hook extracts and normalizes legend configuration from the geo config, * providing sensible defaults for enabled, position, and responsive settings. * * @param config - Geo chart configuration * @returns Normalized legend configuration * * @internal */ export declare function useLegendConfig(config?: IGeoChartConfig): ILegendConfig; //# sourceMappingURL=useLegendConfig.d.ts.map