import type { DocNode, InferInlineNode, TextNode } from "../../doc/types.js";
import type { PasteHook } from "./types.js";
/**
 * An extension to handle pasting / dropping from HTML.
 */
export declare const htmlPaste: <T extends DocNode>(serializeText: (t: string) => Extract<InferInlineNode<T>, TextNode>, serializers?: ((node: HTMLElement) => Exclude<InferInlineNode<T>, TextNode> | void)[]) => PasteHook;
