import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges } from '@angular/core';
import Cropper from 'cropperjs';
import { AppConfigService } from '../../../app-config';
import { UrlService } from '../../../common';
import * as i0 from "@angular/core";
export declare class ImgViewerComponent implements AfterViewInit, OnChanges, OnDestroy {
    private readonly appConfigService;
    private readonly urlService;
    showToolbar: boolean;
    readOnly: boolean;
    allowedEditActions: {
        [key: string]: boolean;
    };
    urlFile: string;
    blobFile: Blob;
    fileName: string;
    error: EventEmitter<any>;
    submit: EventEmitter<any>;
    isSaving: EventEmitter<boolean>;
    imageLoaded: EventEmitter<void>;
    imageElement: ElementRef;
    onKeyDown(event: KeyboardEvent): void;
    fullScreenChangeHandler(): void;
    scale: number;
    cropper: Cropper;
    isEditing: boolean;
    get currentScaleText(): string;
    constructor(appConfigService: AppConfigService, urlService: UrlService);
    ngOnChanges(changes: SimpleChanges): void;
    ngAfterViewInit(): void;
    ngOnDestroy(): void;
    initializeScaling(): void;
    zoomIn(): void;
    zoomOut(): void;
    rotateImage(): void;
    cropImage(): void;
    save(): void;
    reset(): void;
    updateCanvasContainer(): void;
    onImageError(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ImgViewerComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ImgViewerComponent, "adf-img-viewer", never, { "showToolbar": { "alias": "showToolbar"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "allowedEditActions": { "alias": "allowedEditActions"; "required": false; }; "urlFile": { "alias": "urlFile"; "required": false; }; "blobFile": { "alias": "blobFile"; "required": false; }; "fileName": { "alias": "fileName"; "required": false; }; }, { "error": "error"; "submit": "submit"; "isSaving": "isSaving"; "imageLoaded": "imageLoaded"; }, never, never, true, never>;
}
