import type { LegendProps } from 'recharts'; export declare function getLegendPosition(legendProps: Omit | undefined, defaultPosition: 'top' | 'bottom'): 'top' | 'bottom' | 'middle';