import { Editor } from '../../editor.js'; import { DocNode, TextNode } from '../../doc/types.js'; import { InferInlineNode } from '../../doc/types-infer.js'; type HtmlSerializers = Partial<{ [key in keyof HTMLElementTagNameMap]: (node: HTMLElementTagNameMap[key]) => Exclude, TextNode> | void; }> & { text: (t: string) => Extract, TextNode>; }; /** * A plugin to handle copying / pasting HTML */ export declare function htmlTransferPlugin(editor: Editor, options: { serializers: HtmlSerializers; }): void; export {};