import React from "react";
import { MenuProps } from "@arco-design/web-react";
import { UploaderServer } from "../../../utils/Uploader";
export interface ImageUploaderProps {
    onChange: (val: string) => void;
    value: string;
    uploadHandler?: UploaderServer;
    autoCompleteOptions?: Array<{
        value: string;
        label: React.ReactNode;
    }>;
    hideMergeTag?: boolean;
    onCallbackImageDetail?: (size: {
        width: number;
        height: number;
    }) => void;
    hideInput?: boolean;
    theme?: MenuProps["theme"];
    size?: "small";
    enablePreview?: boolean;
    onlyPreview?: boolean;
    colSpan?: number;
    pinToParent?: boolean;
}
declare function ImageUploader(props: ImageUploaderProps): React.JSX.Element;
export declare const ImageUploaderField: (props: import("../enhancer").EnhancerProps & Omit<ImageUploaderProps, "onChange" | "value">) => React.JSX.Element;
export { ImageUploader };
