import type { RefObject } from "react";
import type { Editor } from "@tiptap/react";
interface UseImageUploadDialogOptions {
    editorRef: RefObject<Editor | null>;
}
export declare function useImageUploadDialog({ editorRef, }: UseImageUploadDialogOptions): {
    showImageDialog: boolean;
    openImageDialog: (callback: (src: string, alt?: string) => void) => void;
    handleImageConfirm: (src: string, alt?: string) => void;
    handleImageCancel: () => void;
};
export {};
