import { Plugin } from 'prosemirror-state'; import { Node as PMNode } from 'prosemirror-model'; /** Flattens a multi-block document into a single paragraph, keeping marks. */ export declare function flattenToSingleParagraph(doc: PMNode): PMNode; /** * Constrains the document to a single paragraph: Enter is inert, pasted * multi-block content is flattened to one line, and any transaction that * would still produce extra blocks is rejected. */ export declare function singleLinePlugin(): Plugin;