import { Editor } from '@tiptap/react';
import { SetColorData } from '../types';
/**
 * Hook to handle color-related actions in the HTML editor.
 *
 * @param editor - The TipTap editor instance.
 * @returns Object with color handler functions.
 */
export default function useHtmlEditorColorAction(editor: Editor | null): {
    handleTextColor: (data: SetColorData) => void;
    handleBgColor: (data: SetColorData) => void;
    handleResetTextColor: () => void;
    handleResetBgColor: () => void;
};
