import * as _tiptap_core from '@tiptap/core'; import { Node } from '@tiptap/core'; import * as _tiptap_extension_ordered_list from '@tiptap/extension-ordered-list'; import { ListItemOptions } from '@tiptap/extension-list-item'; declare const Footnotes: _tiptap_core.Node<_tiptap_extension_ordered_list.OrderedListOptions, any>; declare module "@tiptap/core" { interface Commands { footnoteReference: { /** * add a new footnote reference * @example editor.commands.addFootnote() */ addFootnote: () => ReturnType; }; } } declare const FootnoteReference: Node; declare module "@tiptap/core" { interface Commands { footnote: { /** * scrolls to & sets the text selection at the end of the footnote with the given id * @param id the id of the footote (i.e. the `data-id` attribute value of the footnote) * @example editor.commands.focusFootnote("a43956c1-1ab8-462f-96e4-be3a4b27fd50") */ focusFootnote: (id: string) => ReturnType; }; } } interface FootnoteOptions extends ListItemOptions { /** * Content expression for this node * @default "paragraph+" */ content: string; } declare const Footnote: _tiptap_core.Node; export { Footnote, FootnoteReference, Footnotes };