import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core'; import Map from 'ol/Map'; import MousePosition from 'ol/control/MousePosition.js'; import { CuiControlComponent } from "../../../cui-control.component"; import { CoordinateReferenceSystem } from "../../line/cui-ol-line-control.component"; import { CuiModelHelper } from "../../../../services/cui/cui.helper"; export declare class CuiOlRectangleSelectComponent extends CuiControlComponent implements OnInit, AfterViewInit, OnChanges { cuiModelHelper: CuiModelHelper; mapElement: ElementRef; coordinatesOfRectangle: any; CRS: CoordinateReferenceSystem; viewCenter: [number, number]; coordinatesOfRectangleChanged: EventEmitter; hideModal: EventEmitter; rectangleFeatureCoordinates: any; map: Map; mousePositionControl: MousePosition; private baseLayer; private source; private rectangleLayer; private drawInteraction; getFirstPoint(coordinates: any): any; getSecondPoint(coordinates: any): any; getThirdPoint(coordinates: any): number[]; getFourthPoint(coordinates: any, thirdPoint: any): number[]; constructor(cuiModelHelper: CuiModelHelper); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; AddInteractions(): void; ChangeValueOfCoordinatesInModel(): void; ClearData(): void; HideModal(): void; TransformToTwoPointAndWidthCoordinates(coordinates: any): { x1: number; y1: number; x2: number; y2: number; width: number; }; TransformFromTwoPointAndWidthCoordinates(data: any): number[][]; }