import { Editor } from '@tiptap/react';
import { SetImageData, SetImageAlignmentData, SetImageAltData } from '../types';
/**
 * Hook to handle image-related actions in the HTML editor.
 *
 * @param editor - The TipTap editor instance.
 * @returns Object with image handler functions.
 */
export default function useHtmlEditorImageAction(editor: Editor | null): {
    handleInsertImage: (data: SetImageData) => void;
    handleUpdateImageAlignment: (data: SetImageAlignmentData) => void;
    handleUpdateImageAlt: (data: SetImageAltData) => void;
    handleDeleteImage: () => void;
};
