/**
 * @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 { ElementRef } from '@angular/core';
import { CropperPosition, ImageCroppedEvent, LoadedImage } from '../interfaces';
import { CropperSettings } from '../interfaces/cropper.settings';
import * as i0 from "@angular/core";
export declare class CropService {
    crop(sourceImage: ElementRef, loadedImage: LoadedImage, cropper: CropperPosition, settings: CropperSettings): ImageCroppedEvent | null;
    private getImagePosition;
    private getOffsetImagePosition;
    getResizeRatio(width: number, height: number, settings: CropperSettings): number;
    getQuality(settings: CropperSettings): number;
    static ɵfac: i0.ɵɵFactoryDeclaration<CropService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<CropService>;
}
