import { Fragment } from '@atlaskit/editor-prosemirror/model'; import type { Mark, Node as PMNode, Schema, NodeType } from '@atlaskit/editor-prosemirror/model'; /** * Ensure that each node in the fragment is a block, wrapping * in a block node if necessary. */ export declare function ensureBlocks(fragment: Fragment, schema: Schema, nodeType?: NodeType): Fragment; /** * This function will convert all content to inline nodes */ export declare const ensureInline: (schema: Schema, content: Fragment, supportedMarks: Mark[]) => Fragment; export declare function convert(content: Fragment, node: Node, schema: Schema): Fragment | PMNode | null | undefined; export declare function bfsOrder(root: Node): Node[];