import { MFile } from '../../utils/file/file';
import { ModulVue } from '../../utils/vue/vue';
import { MButtonSkin } from '../button/button';
import { MMessageState } from '../message/message';
import { MModalSize } from '../modal/modal';
import { MCropImage } from './crop-image/crop-image';
export declare enum MPhotoEditorMode {
    SELECT = "select",
    CROP = "crop"
}
export declare class MPhotoEditor extends ModulVue {
    urlPhoto: string;
    open: boolean;
    allowedExtensions: string[];
    storeName: string;
    savingInProgress: boolean;
    titleModal: string;
    $refs: {
        cropImage: MCropImage;
    };
    i18nChoosePhoto: string;
    i18nSave: string;
    i18nCancel: string;
    modalSize: MModalSize;
    primaryButton: MButtonSkin.Primary;
    secondaryButton: MButtonSkin.Secondary;
    photoEditorMode: MPhotoEditorMode;
    messageState: MMessageState;
    imageToCrop: MFile;
    initialize(): void;
    replaceImage(): void;
    crop(): void;
    saveImage(imageCropped: File): void;
    deleteImage(): void;
    close(): void;
    get selectMode(): boolean;
    get imageSelected(): MFile | undefined;
    get validFile(): boolean;
    get i18nFileError(): string;
}
//# sourceMappingURL=photo-editor.d.ts.map