/// import type { CommandFn, LeafContext, PasteContext } from "doc-editor-core"; import type { CopyContext } from "doc-editor-core"; import type { EditorKit } from "doc-editor-core"; import { LeafPlugin } from "doc-editor-core"; import type { RenderLeafProps } from "doc-editor-delta"; export declare class BoldPlugin extends LeafPlugin { private editor; readonly key = "bold"; constructor(editor: EditorKit); destroy(): void; match(props: RenderLeafProps): boolean; onCommand: CommandFn; serialize(context: CopyContext): void; deserialize(context: PasteContext): void; render(context: LeafContext): JSX.Element; }