import * as React from 'react';
import { FilerobotImageEditorConfig } from 'react-filerobot-image-editor';
export type ImageEditorProps = {
    imageUrl: string;
    maxWidth?: number;
    maxHeight?: number;
    maxMegapixels?: number;
    onSave?: (imageBase64: string, name: string) => void;
    onSaveError?: (error: string) => void;
} & Pick<FilerobotImageEditorConfig, 'defaultSavedImageType'>;
declare const ImageEditor: React.FC<ImageEditorProps>;
export default ImageEditor;
