import { OnDestroy, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { Store } from '@ngrx/store';
import * as fromStore from '../../../store/reducers/reducers';
import { HighlightCreateService } from '../annotation-create/highlight-create/highlight-create.service';
import { Rectangle } from '../annotation-view/rectangle/rectangle.model';
import { ToolbarEventService } from '../../../toolbar/toolbar-event.service';
import { Highlight, ViewerEventService } from '../../../viewers/viewer-event.service';
import * as i0 from "@angular/core";
export declare class MetadataLayerComponent implements OnInit, OnDestroy {
    private store;
    private readonly highlightService;
    private readonly toolbarEvents;
    private readonly viewerEvents;
    zoom: number;
    rotate: number;
    pages: any[];
    annoPages$: Observable<any>;
    drawMode: boolean;
    highlightPage: number;
    rectangles: Rectangle[];
    private $subscriptions;
    constructor(store: Store<fromStore.AnnotationSetState>, highlightService: HighlightCreateService, toolbarEvents: ToolbarEventService, viewerEvents: ViewerEventService);
    ngOnInit(): void;
    ngOnDestroy(): void;
    showContextToolbar(highlight: Highlight): void;
    clearContextToolbar(): void;
    createHighlight(): void;
    createBookmark(rectangle: Rectangle): void;
    saveAnnotation({ rectangles, page }: {
        rectangles: Rectangle[];
        page: any;
    }): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<MetadataLayerComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<MetadataLayerComponent, "mv-metadata-layer", never, { "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; }, {}, never, never, false, never>;
}
//# sourceMappingURL=metadata-layer.component.d.ts.map