/** * Copies the style attributes of a DOM element. This does not copy read-only * properties * @param { HTMLElement } elem DOM element * @returns { CSSStyleDeclaration | undefined } Style object */ export default function copyStyles(elem: HTMLElement | null): CSSStyleDeclaration | undefined;