import { Node } from '@tiptap/core'; export type FootnoteOptions = { /** * The HTML attributes for a paragraph node. * @default {} * @example { class: 'foo' } */ HTMLAttributes: Record; }; declare module '@tiptap/core' { interface Commands { footnote: { /** * Set a footnote * @example editor.commands.setFootnote() */ setFootnote: () => ReturnType; /** * Toggle a footnote * @example editor.commands.toggleParagraph() */ toggleFootnote: () => ReturnType; }; } } declare const Footnote: Node; export default Footnote;