import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
import { Rectangle } from './rectangle.model';
import { ToolbarEventService } from '../../../../toolbar/toolbar-event.service';
import { HighlightCreateService } from '../../annotation-create/highlight-create/highlight-create.service';
import * as i0 from "@angular/core";
export declare class RectangleComponent implements OnChanges, AfterViewInit, OnDestroy {
    private readonly toolbarEvents;
    private readonly highlightService;
    color: String;
    zoom: number;
    rotate: number;
    editable: boolean;
    pageHeight: number;
    pageWidth: number;
    selectEvent: EventEmitter<Rectangle>;
    updateEvent: EventEmitter<Rectangle>;
    viewRect: ElementRef;
    private subscriptions;
    _selected: boolean;
    enableGrabNDrag: boolean;
    height: number;
    width: number;
    top: number;
    left: number;
    _annoRect: Rectangle;
    set annoRect(annoRect: Rectangle);
    get annoRect(): Rectangle;
    constructor(toolbarEvents: ToolbarEventService, highlightService: HighlightCreateService);
    ngOnChanges(changes: SimpleChanges): void;
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    set selected(selected: boolean);
    get selected(): boolean;
    onClick(): void;
    onUpdate(viewRect: any): void;
    adjustForRotation(rotation: number): void;
    hasRectangleChanged(viewRect: any): boolean;
    static ɵfac: i0.ɵɵFactoryDeclaration<RectangleComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<RectangleComponent, "mv-anno-rectangle", never, { "color": { "alias": "color"; "required": false; }; "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; "editable": { "alias": "editable"; "required": false; }; "pageHeight": { "alias": "pageHeight"; "required": false; }; "pageWidth": { "alias": "pageWidth"; "required": false; }; "annoRect": { "alias": "annoRect"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, { "selectEvent": "selectEvent"; "updateEvent": "updateEvent"; }, never, never, false, never>;
}
//# sourceMappingURL=rectangle.component.d.ts.map