/// <reference types="react" />
import { PickerFileMetadata } from 'filestack-js';
export type ImageUploaderProps = {
    /**
     * acceptedTypes are used for uploading images with the available type
     */
    acceptedTypes?: string[];
    classNameImage?: string;
    /**
     * available height size for uploading image
     */
    height?: number;
    /**
     * upload event - changed to file
     */
    onChange?: (file: PickerFileMetadata[] | DragDropValue[] | string) => void;
    /**
     * image url or File
     */
    value?: PickerFileMetadata | string;
    /**
     * available width size for uploading image
     */
    width?: number;
    /**
     * whether or not to show the remove icon
     */
    showRemoveButton?: boolean;
    /**
     * enable crop, circle, rotate and force
     */
    reformatOptions?: boolean;
    /**
     * enabling local file upload only
     */
    localFileUploadOnly?: boolean;
    /**
     * functionality for attachmentBlock
     */
    attachmentBlockUse?: boolean;
};
export type DragDropValue = {
    /**
     * File format to upload as attachment on save
     */
    originalFile: File;
    /**
     * string url from filestack to show preview of image after drag and drop
     */
    url: string;
};
export declare function ImageUploader({ acceptedTypes, classNameImage, value, onChange, showRemoveButton, reformatOptions, localFileUploadOnly, attachmentBlockUse, }: ImageUploaderProps): JSX.Element;
