import type { NodeFactory } from '../editor'; import type { Scope } from 'rete'; import type { BaseArea } from 'rete-area-plugin'; export { CommentExtensions } from 'rete-comment-plugin'; import { CommentPlugin as BaseCommentPlugin, type ExpectedSchemes, type Props, Comment } from 'rete-comment-plugin'; export declare class CommentPlugin> extends BaseCommentPlugin { lastPointerEvent?: PointerEvent; protected readonly factory: NodeFactory; constructor(props: { factory: NodeFactory; } & Props); setParent(scope: Scope, []>): void; private makeComment; addFrame(text?: string, links?: string[] | undefined, params?: { id?: string; editPrompt?: boolean; }): void; openEditPrompt(comment: Comment): void; add(comment: Comment): void; }