/** * All properties that should be excluded from the deep copy of an HTML element. */ export declare const excludedProps: Set; /** * Casts a node to an element, or returns null if the node is not an element. * @param {ChildNode | Element | null} node - The node to cast. * @returns {Element | null} - The casted element, or null if the node is not an element. */ export declare function asElement(node: Element | ChildNode | null): Element | null; /** * Deep copy an HTML element with all its attributes, properties, and child nodes. * This method is useful for creating a clone of an element that can be safely modified without affecting the original. * @param {HTMLElement} element - The HTML element to copy. * @returns {HTMLElement} - A deep copy of the HTML element. * @example const copy = deepCopyElement(document.getElementById('myElement')); */ export declare function deepCopyElement(element: HTMLElement): HTMLElement;