import { Fragment, Node as PMNode, Schema } from '../../prosemirror';
/**
 * 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<any, any>): Fragment;
export declare function convert(content: Fragment, node: Node, schema: Schema<any, any>): Fragment | PMNode | null | undefined;
export declare function bfsOrder(root: Node): Node[];
