import { OnDestroy, OnInit } from '@angular/core';
import { Observable } from 'rxjs';
import { Store } from '@ngrx/store';
import { Rectangle } from '../../annotations/annotation-set/annotation-view/rectangle/rectangle.model';
import * as fromStore from '../../store/reducers/reducers';
import { SelectionAnnotation } from '../../annotations/models/event-select.model';
import { ViewerEventService } from '../../viewers/viewer-event.service';
import { Redaction } from '../services/redaction.model';
import { ToolbarEventService } from '../../toolbar/toolbar-event.service';
import * as i0 from "@angular/core";
export declare class RedactionComponent implements OnInit, OnDestroy {
    private store;
    private readonly viewerEvents;
    private toolbarEvents;
    zoom: number;
    rotate: number;
    redactionsPerPage$: Observable<any>;
    selectedRedaction$: Observable<SelectionAnnotation | {}>;
    rectangles: Rectangle[];
    drawMode: boolean;
    documentId: string;
    private $subscription;
    constructor(store: Store<fromStore.State>, viewerEvents: ViewerEventService, toolbarEvents: ToolbarEventService);
    ngOnInit(): void;
    ngOnDestroy(): void;
    markTextRedaction(highlight: any): void;
    markBoxRedaction({ rectangles, page }: {
        rectangles: any;
        page: any;
    }): void;
    saveRedaction(page: number, rectangles: Rectangle[]): void;
    onMarkerDelete(event: any): void;
    selectRedaction(event: any): void;
    onMarkerUpdate(redaction: Redaction): void;
    downloadDocument({ blob, filename }: {
        blob: any;
        filename: any;
    }): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<RedactionComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<RedactionComponent, "mv-redactions", never, { "zoom": { "alias": "zoom"; "required": false; }; "rotate": { "alias": "rotate"; "required": false; }; }, {}, never, never, false, never>;
}
//# sourceMappingURL=redaction.component.d.ts.map