import { ElementRef, EventEmitter, OnChanges, OnInit, SimpleChanges } from '@angular/core';
import Cropper from 'cropperjs';
import { FooterComponent, HeaderComponent } from '@seniorsistemas/angular-components/structure';
import { ActiveDialog } from '@seniorsistemas/angular-components/dialog';
import * as i0 from "@angular/core";
export declare class ImageCropperComponent implements OnInit, OnChanges {
    activeDialog: ActiveDialog | null;
    static nextId: number;
    id: string;
    visible: boolean;
    header: string;
    cropLabel: string;
    selectAnotherLabel: string;
    removeLabel: string;
    cancelLabel: string;
    emptyStateTitle: string;
    emptyStateActionLabel: string;
    emptyStateIconClass: string;
    aspectRatio: number;
    rounded: boolean;
    allowSelectAnother: boolean;
    allowRemove: boolean;
    allowCancel: boolean;
    imageSource?: string;
    visibleChange: EventEmitter<boolean>;
    changeImage: EventEmitter<any>;
    croppedImage: EventEmitter<string>;
    croppedCanvas: EventEmitter<HTMLCanvasElement>;
    removedImage: EventEmitter<any>;
    cancel: EventEmitter<any>;
    image: ElementRef<HTMLImageElement> | null;
    headerSection: HeaderComponent | null;
    footerSection: FooterComponent | null;
    cropper: Cropper | null;
    ngOnInit(): void;
    ngOnChanges(changes: SimpleChanges): void;
    private initCropper;
    getRoundedCanvas(sourceCanvas: HTMLCanvasElement): HTMLCanvasElement | null;
    onCropImage(): void;
    onChangeImage(): void;
    onRemoveImage(): void;
    onCancel(): void;
    onModalVisibleChange(visible: boolean): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ImageCropperComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<ImageCropperComponent, "s-image-cropper", never, { "id": { "alias": "id"; "required": false; }; "visible": { "alias": "visible"; "required": false; }; "header": { "alias": "header"; "required": false; }; "cropLabel": { "alias": "cropLabel"; "required": false; }; "selectAnotherLabel": { "alias": "selectAnotherLabel"; "required": false; }; "removeLabel": { "alias": "removeLabel"; "required": false; }; "cancelLabel": { "alias": "cancelLabel"; "required": false; }; "emptyStateTitle": { "alias": "emptyStateTitle"; "required": false; }; "emptyStateActionLabel": { "alias": "emptyStateActionLabel"; "required": false; }; "emptyStateIconClass": { "alias": "emptyStateIconClass"; "required": false; }; "aspectRatio": { "alias": "aspectRatio"; "required": false; }; "rounded": { "alias": "rounded"; "required": false; }; "allowSelectAnother": { "alias": "allowSelectAnother"; "required": false; }; "allowRemove": { "alias": "allowRemove"; "required": false; }; "allowCancel": { "alias": "allowCancel"; "required": false; }; "imageSource": { "alias": "imageSource"; "required": false; }; }, { "visibleChange": "visibleChange"; "changeImage": "changeImage"; "croppedImage": "croppedImage"; "croppedCanvas": "croppedCanvas"; "removedImage": "removedImage"; "cancel": "cancel"; }, ["headerSection", "footerSection"], ["s-header", "s-footer"], false, never>;
}
