import { ElementRef, OnDestroy, OnInit } from '@angular/core';
import { Store } from '@ngrx/store';
import { ResponseType } from '../viewer-exception.model';
import { ToolbarEventService } from '../../toolbar/toolbar-event.service';
import * as fromStore from '../../store/reducers/reducers';
import { ToolbarButtonVisibilityService } from '../../toolbar/toolbar-button-visibility.service';
import { Subscription } from 'rxjs';
import * as i0 from "@angular/core";
export declare class RotationPersistDirective implements OnInit, OnDestroy {
    private el;
    private store;
    readonly toolbarButtons: ToolbarButtonVisibilityService;
    private toolbarEvents;
    documentId: string;
    rotation: number;
    savedRotation: number;
    $subscriptions: Subscription;
    constructor(el: ElementRef, store: Store<fromStore.DocumentState>, toolbarButtons: ToolbarButtonVisibilityService, toolbarEvents: ToolbarEventService);
    ngOnInit(): void;
    ngOnDestroy(): void;
    onMediaLoad(status: ResponseType): void;
    private onRotate;
    private saveRotation;
    static ɵfac: i0.ɵɵFactoryDeclaration<RotationPersistDirective, never>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<RotationPersistDirective, "[mvRotationPersist]", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=rotation-persist.directive.d.ts.map