declare function position(legend: any, selfLegend: any): void; export default position;