import { Geometry } from 'ol/geom'; import { IAnnotation } from '../models/annotation'; import { DrawType } from '../models/interaction'; export declare class GeometryToAnnotation { private static fakeAnnotationData; static geometryToAnnotation(geometry: Geometry, drawMode: DrawType): IAnnotation; /** * Rearrange coordinates of a rectangle so it starts at the upper left corner * and follows the contour clockwise * @param coordinates, All coordinate pairs of the rectangle * @returns coordinates, Rearranged coordinates */ private static rearrangeRectangle; }