/** * RiverDataWidget https://github.com/pb-uk/river-data-widget. * * @copyright Copyright (C) 2022 pbuk https://github.com/pb-uk. * @license AGPL-3.0-or-later see LICENSE.md. */ export { createElement, createSvgElement, setAttributes, setStyles }; type AttributeList = Record; declare const setAttributes: (el: T, attributes: AttributeList) => T; declare const setStyles: (el: T, styles: AttributeList) => T; declare const createElement: (name?: string, attributes?: AttributeList, styles?: AttributeList, innerHTML?: string | false) => HTMLElement; declare const createSvgElement: (name?: string, attributes?: AttributeList, styles?: AttributeList, innerHTML?: string | false) => SVGElement;