export default MultirootEditor; /** * The multi-root editor implementation. It provides inline editables and a single toolbar. * * Unlike other editors, the toolbar is not rendered automatically and needs to be attached to the DOM manually. * * This type of an editor is dedicated to integrations which require a customized UI with an open * structure, allowing developers to specify the exact location of the interface. */ declare class MultirootEditor extends Editor { /** * Creates a multi-root editor instance. * * @param {Object.} sourceElements The list of DOM elements that will be the source * for the created editor (on which the editor will be initialized). * @param {module:core/editor/editorconfig~EditorConfig} config The editor configuration. * @returns {Promise} A promise resolved once the editor is ready. */ static create(sourceElements: any, config: any): Promise; /** * Creates an instance of the multi-root editor. * * **Note:** Do not use the constructor to create editor instances. Use the static `MultirootEditor.create()` method instead. * * @protected * @param {Object.} sourceElements The list of DOM elements that will be the source * for the created editor (on which the editor will be initialized). * @param {module:core/editor/editorconfig~EditorConfig} config The editor configuration. */ protected constructor(); ui: MultirootEditorUI; /** * @inheritDoc */ destroy(): Promise; addRoot(rootName: any, sourceElement: any): void; removeRoot(rootName: any): void; setPlaceholder(rootName: any, placeholderText: any): void; } import { Editor } from "@ckeditor/ckeditor5-core"; import MultirootEditorUI from "./multiroot-editor-ui"; //# sourceMappingURL=multiroot-editor.d.ts.map