import { JSONContent } from '@tiptap/core'; import { Node, ResolvedPos } from 'prosemirror-model'; export declare const buildNode: ({ type, content }: JSONContent) => JSONContent; export declare const buildParagraph: ({ content }: Partial) => JSONContent; export declare const buildDBlock: ({ content }: Partial) => JSONContent; export declare const buildColumn: ({ content }: Partial) => JSONContent; export declare const buildColumnBlock: ({ content }: Partial) => JSONContent; export declare const buildNColumns: (n: number) => JSONContent[]; interface PredicateProps { node: Node; pos: number; start: number; } export type Predicate = (props: PredicateProps) => boolean; export declare const findParentNodeClosestToPos: ($pos: ResolvedPos, predicate: Predicate) => { start: number; depth: number; node: Node; pos: number; }; export {};