import type { LegendOptions } from '../../types'; import type { TextStyle } from './types'; export type LegendPosition = 'top' | 'left' | 'right' | 'bottom' | null; export type LegendSettings = { enabled: boolean; align?: 'center' | 'left' | 'right'; verticalAlign?: 'top' | 'middle' | 'bottom'; borderWidth?: number; borderColor?: string; borderRadius?: number; backgroundColor?: string; margin?: number; padding?: number; maxHeight?: number; shadow?: boolean; reversed?: boolean; rtl?: boolean; floating?: boolean; width?: number | string; x?: number; y?: number; layout?: 'horizontal' | 'vertical' | 'proximate'; itemDistance?: number; itemWidth?: number; itemStyle?: TextStyle; itemHoverStyle?: TextStyle; itemHiddenStyle?: TextStyle; itemMarginBottom?: number; itemMarginTop?: number; symbolRadius?: number; symbolHeight?: number; symbolWidth?: number; symbolPadding?: number; squareSymbol?: boolean; title?: { text?: string; style?: TextStyle; }; }; export declare const legendItemStyleDefault: LegendSettings['itemStyle']; export declare const getLegendSettings: (legend?: LegendOptions) => LegendSettings; export declare const isLegendOnRight: (legend?: LegendOptions) => boolean; //# sourceMappingURL=legend-section.d.ts.map