import { EditorView } from 'prosemirror-view';
import { EventDispatcher } from "../event-dispatcher/index.js";
import { MenuItem } from "../ui/DropdownMenu/types.js";
import { ToolbarUIComponentFactory } from "../ui/Toolbar/types.js";
import { UIComponentFactory } from "./ui-components.js";
export interface EditorInstance {
    editorView: EditorView;
    eventDispatcher: EventDispatcher;
    contentComponents: UIComponentFactory[];
    primaryToolbarComponents: ToolbarUIComponentFactory[];
    secondaryToolbarComponents: UIComponentFactory[];
    contentTransformer?: Transformer<string>;
    insertMenuItems?: MenuItem[];
}
