/**
 * @license
 * Copyright ASW (A Software World) All Rights Reserved.
 *
 * Use of this source code is governed by an MIT-style license that can be
 * found in the LICENSE file
 */
import { OnInit } from '@angular/core';
import { FormBuilder, FormGroup } from '@angular/forms';
import { MatDialogRef } from '@angular/material/dialog';
import { Dimensions, ImageCroppedEvent, ImageTransform } from '@asoftwareworld/form-builder/image-crop';
import * as i0 from "@angular/core";
export declare class AswImageUploadDialog implements OnInit {
    private formBuilder;
    dialogRef: MatDialogRef<AswImageUploadDialog>;
    control: any;
    constants: any;
    aswImageCropForm: FormGroup;
    imageChangedEvent: any;
    croppedImage: any;
    canvasRotation: number;
    rotation: number;
    scale: number;
    showCropper: boolean;
    isImageLoaded: boolean;
    containWithinAspectRatio: boolean;
    transform: ImageTransform;
    constructor(formBuilder: FormBuilder, dialogRef: MatDialogRef<AswImageUploadDialog>, control: any);
    ngOnInit(): void;
    fileChangeEvent(event: any): void;
    removeImage(): void;
    imageCropped(event: ImageCroppedEvent): void;
    imageLoaded(): void;
    cropperReady(sourceImageDimensions: Dimensions): void;
    loadImageFailed(): void;
    rotateLeft(): void;
    rotateRight(): void;
    private flipAfterRotate;
    flipHorizontal(): void;
    flipVertical(): void;
    resetImage(): void;
    zoomOut(): void;
    zoomIn(): void;
    toggleContainWithinAspectRatio(): void;
    updateRotation(): void;
    onNoClick(): void;
    validateFormBuilder(): void;
    editProperty(control: any): void;
    onSubmit(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<AswImageUploadDialog, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<AswImageUploadDialog, "asw-image-upload-dialog", never, {}, {}, never, never, false, never>;
}
