/** * Set styles to an HTML element. If styles are empty, remove 'style' attribute * @param element The element to set styles * @param styles The styles to set, in name-value pair format */ export default function setStyles(element: HTMLElement, styles: Record): void;