import type { EditorPlugin, IEditor, PluginEvent } from 'roosterjs-editor-types'; /** * @internal * Detect image selection and help highlight the image */ export default class ImageSelection implements EditorPlugin { private editor; /** * Get a friendly name of this plugin */ getName(): string; /** * Initialize this plugin. This should only be called from Editor * @param editor Editor instance */ initialize(editor: IEditor): void; /** * Dispose this plugin */ dispose(): void; onPluginEvent(event: PluginEvent): void; }