/// import type { Editor, PasteContext } from "@block-kit/core"; import type { CMDPayload } from "@block-kit/core"; import type { AttributeMap } from "@block-kit/delta"; import type { ReactLeafContext, ReactWrapLeafContext } from "@block-kit/react"; import { EditorPlugin } from "@block-kit/react"; export declare class LinkPlugin extends EditorPlugin { protected editor: Editor; key: string; protected modal: HTMLDivElement | null; constructor(editor: Editor); destroy(): void; match(attrs: AttributeMap): boolean; onExec(payload: CMDPayload): undefined; willApplyPasteDelta(context: PasteContext): PasteContext; wrapLeaf(context: ReactWrapLeafContext): React.ReactNode; renderLeaf(context: ReactLeafContext): React.ReactNode; }