export type StyleElement = HTMLLinkElement | HTMLStyleElement; /** * Normalizes the passed style or link element, reverting the changes * made by {@link prepareStylePromise|`prepareStylePromise`} to the * `data-original-media` and `media`. * * @example * The following elements should be normalized to the same element: * ```html * * * * * ``` * * @param element `