import { EventEmitter } from '@angular/core'; import { ImageCroppedEvent } from 'ngx-image-cropper'; import * as i0 from "@angular/core"; /** * ImageCropComponent * * A modal-ready component for cropping images with a specified aspect ratio. * Uses ngx-image-cropper internally and provides a simple interface. * * @example Inside an ion-modal * ```html * * * * * * ``` */ export declare class ImageCropComponent { private i18n; /** Image file to crop */ readonly image: import("@angular/core").InputSignal; /** Aspect ratio (1 for square, 16/9 for widescreen, etc.) */ readonly aspectRatio: import("@angular/core").InputSignal; /** Use round cropper (for avatars) */ readonly roundCropper: import("@angular/core").InputSignal; /** Resize output to specific width (0 = no resize) */ readonly resizeToWidth: import("@angular/core").InputSignal; /** i18n namespace for labels */ readonly i18nNamespace: import("@angular/core").InputSignal; /** Emitted when crop is confirmed with the cropped blob */ cropComplete: EventEmitter; /** Emitted when user cancels the crop */ cancel: EventEmitter; /** Emitted when image fails to load */ loadFailed: EventEmitter; /** Internal signal for cropped blob */ protected croppedBlob: import("@angular/core").WritableSignal; /** Computed text for cancel button */ protected cancelText: import("@angular/core").Signal; /** Computed text for confirm button */ protected confirmText: import("@angular/core").Signal; /** Computed text for title */ protected titleText: import("@angular/core").Signal; /** Handle crop event from ngx-image-cropper */ onImageCropped(event: ImageCroppedEvent): void; /** Confirm and emit the cropped blob */ confirmCrop(): void; /** Handle load failure */ onLoadFailed(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }