import { EditorView } from 'prosemirror-view'; import { type Props } from './store'; import { type SuggestionMode } from './plugins/suggestions/commands'; import { type CollabStepJSON, type CollabClientID } from './plugins/collab/plugin-collab'; import { type RemoteCursor } from './plugins/cursors/plugin-cursors'; declare const Editor: import("svelte").Component import("prosemirror-model").Schema; setContent: (content: string | object) => void; getContent: () => object; clearContent: () => void; getView: () => EditorView; focus: () => void; setEditable: (editable: boolean) => void; isEditable: () => boolean; suggestions: { getMode(): SuggestionMode; setMode(mode: SuggestionMode): void; }; collab: { receiveSteps(steps: CollabStepJSON[], clientIDs: CollabClientID[]): void; getVersion(): number; }; cursors: { set(remoteCursors: RemoteCursor[]): void; }; }, "">; type Editor = ReturnType; export default Editor;