import { Node } from 'prosemirror-model'; import { EditorView } from 'prosemirror-view'; import { DocJson } from './types.js'; declare const getJSON: (editorView: EditorView) => DocJson | null; declare const getTextFromDoc: (doc: Node, separator?: string) => string; declare const getTopLevelImages: (editorView: EditorView) => any[]; declare const getText: (editorView: EditorView, separator?: string) => string | null; declare const importDocJson: (editorView: EditorView, docJson: DocJson) => Node; export { getJSON, getText, getTextFromDoc, getTopLevelImages, importDocJson };