import { Dimensions } from '../../../types/dimensions.js'; import { ChartLegendOrientation, LegendRatio } from '../../../types/legend.js'; interface AutomaticRatioParams { legendCandidateSize?: number; legendRef: (node: HTMLDivElement) => void; readyForAutoRatio: boolean; refreshAutoRatio: () => void; } /** * Hook responsible of determining the best ratio to apply to the chart in order * to fully display the content of the legend. * @param orientation - * @param ratio - * @param containerAvailableArea - */ export declare const useAutomaticRatio: (orientation: ChartLegendOrientation, ratio: LegendRatio, containerAvailableArea: Dimensions) => AutomaticRatioParams; export {};