interface ImageItem {
    uid: number | string;
    dataUrl: string;
}
interface UseAddImageOptions {
    handleUpdateImgList: (list: ImageItem[]) => void;
    updateUidCount: () => number | string;
}
/**
 * Owns the interaction state for the "add image" flow (file picker dropdown +
 * add-by-url input). It returns only state and handlers — render the UI with
 * the `UploadImageButton` and `ImageURLInput` components, wiring these handlers
 * to them. This keeps the logic reusable and lets the UI be memoized/composed
 * by the consumer.
 */
declare const useAddImage: (options: UseAddImageOptions) => {
    isFromUrl: boolean;
    dropDownOpen: boolean;
    openImgTips: boolean;
    inputImgRef: import('react').MutableRefObject<any>;
    handleAddImgFromUrl: () => void;
    handleInputImageUrl: (e: any) => Promise<void>;
    handleClose: (e?: any) => void;
    handleOnEscape: (e: any) => void;
    handleOnOpenChange: (open: boolean) => void;
};
export default useAddImage;
