export default function getElementPosition(element: any): { top: any; left: any; };