import type { YooptaPlugin } from '../../plugins'; import type { SlateElement, YooEditor } from '../types'; /** * Registers a plugin at runtime into an already-initialized editor. * * This rebuilds the full plugin map (including injection resolution) * and emits a `plugin:register` event so the UI can re-render. */ export declare function registerPlugin(editor: YooEditor, pluginInput: YooptaPlugin>): void; /** * Unregisters a plugin by type name. * * Removes the plugin and any blocks of that type from the editor content. * Rebuilds the plugin map and emits `plugin:unregister`. */ export declare function unregisterPlugin(editor: YooEditor, pluginType: string): void; //# sourceMappingURL=registerPlugin.d.ts.map