export default function (polygon: any): { x: number; y: number; width: number; height: number; };