import type { Editor, SelectionChangeEvent } from "@block-kit/core"; import type { SelectionHOC } from "../components/selection"; export declare class SelectionPlugin { editor: Editor; /** id <-> React.ReactNode */ protected idToView: Map; constructor(editor: Editor); destroy(): void; mountView(id: string, view: SelectionHOC): void; unmountView(id: string): void; protected onSelectionChange(e: SelectionChangeEvent): void; }