import { CropperOptions, ImageCroppedEvent } from '../interfaces'; import { CropperState } from '../component/cropper.state'; export declare class CropService { crop(cropperState: CropperState, output: 'blob'): Promise | null; crop(cropperState: CropperState, output: 'base64'): ImageCroppedEvent | null; private cropToBlob; private getCanvasTranslate; private getRatio; private getImagePosition; private getOffsetImagePosition; getResizeRatio(width: number, height: number, options: CropperOptions): number; getQuality(options: CropperOptions): number; }