import type { Orientation } from '../../../../../core/types/orientation.js'; import type { LegendPosition } from '../../../types/legend.js'; /** * Calculates the legend orientation depending of its position * @param position - The place the customer wants to put the legend could be one of those: bottom, right, or auto * @param width - Represents the parent container width * @param height - Represents the parent container height * @returns - The legend orientation */ export declare const getOrientation: (width: number, height: number, position?: LegendPosition) => "horizontal" | "vertical"; export declare const isVertical: (orientation: Orientation) => orientation is "vertical"; /** * Returns the orientation of the legend based in the orientation of the layout. * @internal */ export declare const getLegendOrientation: (layoutOrientation: Orientation) => "horizontal" | "vertical";