import type { RefObject } from "react";
import type { Editor } from "@tiptap/react";
interface UseFileUploadDialogOptions {
    editorRef: RefObject<Editor | null>;
}
export declare function useFileUploadDialog({ editorRef, }: UseFileUploadDialogOptions): {
    showFileUploadDialog: boolean;
    openFileUploadDialog: (callback: (url: string, name: string) => void) => void;
    handleFileUploadConfirm: (url: string, name: string) => void;
    handleFileUploadCancel: () => void;
};
export {};
