import { type LexicalEditor } from 'lexical'; import type { MarkMetadata, MarkPluginCallbacks } from '../types'; /** * Register mark/annotation support. * Allows highlighting and annotating text with custom metadata. */ export declare function registerMarkPlugin(editor: LexicalEditor, callbacks?: MarkPluginCallbacks): Promise<() => void>; /** * Apply a mark to the current selection. */ export declare function applyMark(editor: LexicalEditor, id: string, _metadata?: Partial): Promise; /** * Remove a mark by its ID. */ export declare function removeMark(editor: LexicalEditor, id: string): Promise;