import { Plugin, PluginKey } from '@tiptap/pm/state'; import { DecorationSet } from '@tiptap/pm/view'; export declare const frontmatterHighlightKey: PluginKey; /** * Renders the frontmatter block as highlighted yaml. * * The decorations are rebuilt on every document change rather than only when * the block itself changed: there is at most one block holding a few hundred * characters, which is far cheaper than the bookkeeping needed to tell whether * it was the part that changed. */ export declare function frontmatterHighlightPlugin(nodeName: string): Plugin;