import { ElementRef, OnChanges, OnDestroy, OnInit, SimpleChanges } from '@angular/core'; import { DomSanitizer, SafeStyle, SafeUrl } from '@angular/platform-browser'; import { CropperOptions, CropperPosition, Dimensions, ImageCroppedEvent, ImageTransform, LoadedImage } from '../interfaces'; import { OutputFormat } from '../interfaces/cropper-options.interface'; import { CropperState } from './cropper.state'; import { MoveTypes, Position } from '../interfaces/move-start.interface'; import { BasicEvent } from '../interfaces/basic-event.interface'; import * as i0 from "@angular/core"; export declare class ImageCropperComponent implements OnChanges, OnInit, OnDestroy { private sanitizer; private readonly pinchStart$; private readonly cropService; private readonly loadImageService; private setImageMaxSizeRetries; private moveStart?; private resizedWhileHidden; protected readonly moveTypes: typeof MoveTypes; protected readonly state: CropperState; readonly safeImgDataUrl: import("@angular/core").WritableSignal; readonly safeTransformStyle: import("@angular/core").WritableSignal; marginLeft: SafeStyle | string; imageVisible: boolean; wrapper: ElementRef; sourceImage: ElementRef; imageChangedEvent?: Event | null; imageURL?: string; imageBase64?: string; imageFile?: File; imageAltText?: string; options?: Partial; cropperFrameAriaLabel?: string; output?: 'blob' | 'base64'; format?: OutputFormat; autoCrop?: boolean; cropper?: CropperPosition; transform?: ImageTransform; maintainAspectRatio?: boolean; aspectRatio?: number; resetCropOnAspectRatioChange?: boolean; resizeToWidth?: number; resizeToHeight?: number; cropperMinWidth?: number; cropperMinHeight?: number; cropperMaxHeight?: number; cropperMaxWidth?: number; cropperStaticWidth?: number; cropperStaticHeight?: number; canvasRotation?: number; initialStepSize?: number; roundCropper?: boolean; onlyScaleDown?: boolean; imageQuality?: number; backgroundColor?: string; containWithinAspectRatio?: boolean; hideResizeSquares?: boolean; allowMoveImage: boolean; checkImageType: boolean; alignImage?: 'left' | 'center'; disabled: boolean; hidden: boolean; readonly imageCropped: import("@angular/core").OutputEmitterRef; readonly startCropImage: import("@angular/core").OutputEmitterRef; readonly imageLoaded: import("@angular/core").OutputEmitterRef; readonly cropperReady: import("@angular/core").OutputEmitterRef; readonly loadImageFailed: import("@angular/core").OutputEmitterRef; readonly transformChange: import("@angular/core").OutputEmitterRef; readonly cropperChange: import("@angular/core").OutputEmitterRef; get alignImageStyle(): "left" | "center"; constructor(sanitizer: DomSanitizer); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; private onChangesInputImage; private isValidImageChangedEvent; private reset; private loadImageFile; private loadBase64Image; private loadImageFromURL; private setLoadedImage; loadImageError(error: unknown): void; private setCssTransform; imageLoadedInView(): void; private checkImageMaxSizeRecursively; private sourceImageLoaded; onResize(): void; keyboardAccess(event: KeyboardEvent): void; private changeKeyboardStepSize; private keyboardMoveCropper; startMove(event: Event | BasicEvent, moveType: MoveTypes, position?: Position | null): void; private initMouseMove; private handleMouseMove; private handleMouseUp; startPinch(event: TouchEvent): void; private initPinch; private handlePinchMove; private handlePinchStop; private setMaxSize; private emitCropperPositionChange; private doAutoCrop; crop(): ImageCroppedEvent | null; crop(output: 'base64'): ImageCroppedEvent | null; crop(output: 'blob'): Promise | null; private cropToBlob; private cropToBase64; resetCropperPosition(): void; ngOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }