import { MilkdownPlugin } from '@milkdown/kit/ctx'; import { Plugin } from '@milkdown/kit/prose/state'; import { Schema } from '@milkdown/kit/prose/model'; import { ClipboardMarkdownParser } from '../../tableCellImage'; /** * Crepe clipboard uses `handlePaste` and skips `transformPasted` on the markdown path. * Prepend so mention ids remap before insert; otherwise `healDuplicateMentionIds` keeps the * first doc occurrence and can rewrite an existing mention when paste lands before it. */ export declare function createMentionPasteProsePlugin(options: { getParser: () => ClipboardMarkdownParser; getSchema: () => Schema; }): Plugin; /** Prepends mention paste remapping ahead of Crepe’s clipboard `handlePaste`. */ export declare const mentionPastePlugin: MilkdownPlugin;