/**
 * Clipboard HTML helpers (browser):
 *
 * - {@link annotateFragmentDomWithClipboardData} — run on PM-serialized HTML (cut + copy fallback).
 *   Adds list/paragraph `data-*` from the document model; walks tables via `tbody`/`tr` so cells
 *   still match the fragment.
 *
 * - {@link mergeSerializedClipboardMetadataIntoDomContainer} — when copy uses the browser selection
 *   DOM (see `buildSelectionClipboardHtml`), structure can differ from the serializer mirror. We build
 *   a mirror, annotate it, then copy the same `data-*` onto matching `<p>` nodes in order.
 *
 * DOM shape must match `PmDOMSerializer` output (including table > tbody > tr).
 *
 * @param {HTMLElement} container
 * @param {import('prosemirror-model').Fragment} fragment
 * @param {import('../Editor.js').Editor} editor
 */
export function annotateFragmentDomWithClipboardData(container: HTMLElement, fragment: import('prosemirror-model').Fragment, editor: import('../Editor.js').Editor): void;
/**
 * Selection HTML from the browser differs from the serializer mirror; merge list-related attrs by stable order.
 *
 * @param {HTMLElement} container cloned selection HTML
 * @param {import('prosemirror-view').EditorView} view
 * @param {import('../Editor.js').Editor} [editor] optional editor instance — function bails out when missing
 */
export function mergeSerializedClipboardMetadataIntoDomContainer(container: HTMLElement, view: import('prosemirror-view').EditorView, editor?: import('../Editor.js').Editor): void;
//# sourceMappingURL=clipboardFragmentAnnotate.d.ts.map