import "../styles/selection.scss"; import type { LeafState } from "@block-kit/core"; import type { Editor } from "@block-kit/core"; import { Range } from "@block-kit/core"; import React from "react"; import type { SelectionPlugin } from "../modules/selection"; type Props = { leaf: LeafState; border?: boolean; className?: string; selection: SelectionPlugin; }; type State = { id: string; selected: boolean; }; export declare class SelectionHOC extends React.PureComponent { protected editor: Editor; static contextType: React.Context; constructor(props: Props); componentDidMount(): void; componentWillUnmount(): void; onSelectionChange(range: Range | null): void; render(): React.ReactNode; } export {};