import { Mark } from '@tiptap/core'; export interface TooltipOptions { HTMLAttributes: Record; } declare module '@tiptap/core' { interface Commands { tooltip: { /** * Set a tooltip mark */ setTooltip: (tooltip: string) => ReturnType; /** * Toggle a tooltip mark */ toggleTooltip: (tooltip?: string) => ReturnType; /** * Unset a tooltip mark */ unsetTooltip: () => ReturnType; }; } } export declare const Tooltip: Mark; export default Tooltip;