/** * Small DOM jobs that more than one plugin needs, and that are easy to get * subtly different from each other. */ /** * Copy every `data-` attribute from one element to another. * * Used when a plugin replaces or wraps an element and the author's own data * attributes have to survive the swap. * * @param source - Element to copy from. * @param target - Element to copy to. * @param not - Attribute name to leave behind, if any. */ export declare const copyDataAttributes: (source: Element, target: Element, not?: string) => void; /** * Build an element from a string of HTML. * * `createContextualFragment` rather than `innerHTML` on a throwaway div: it * parses in the document's context, so `