import { MilkdownPlugin } from '@milkdown/kit/ctx'; export declare const EMBED_NODE_NAME = "embed"; /** * Remark plugin that transforms: * 1. Paragraphs containing only a standalone link (where text === href) matching embed patterns * 2. Leaf directives like ::iframe{src="..."} * 3. Text directives :iframe / escaped ::iframe in phrasing context → embedNode or link * * into embedNode AST nodes (or a plain link when the directive is truly inline). */ export declare const remarkEmbedPlugin: import('@milkdown/utils').$Remark<"embed-transform", unknown>; /** * Embed node schema for ProseMirror * Similar to iframe plugin pattern from Milkdown docs */ export declare const embedNode: import('@milkdown/utils').$Node; /** * Export all embed plugins for registration */ export declare const embedPlugin: MilkdownPlugin[];