import { MilkdownPlugin } from '@milkdown/kit/ctx'; /** * Rewrites orphan `[ ]` / `[x]` lines to GFM task list markdown on paste, then parses like Milkdown clipboard. * * Registered by **prepending** to `prosePluginsCtx` so we run before Crepe's bundled clipboard (which only appends). * * **Why we repeat a few clipboard preconditions:** The first `handlePaste` that calls `preventDefault()` and returns * `true` wins — the Milkdown clipboard plugin never runs. So we must `return false` in the same situations where * Milkdown would take a *different* path (VS Code → code fence, code block → plain text, empty clipboard). Only * then do we optionally intercept pastes that need orphan-task normalization. */ export declare const taskListOrphanPastePlugin: MilkdownPlugin;