import { ElementPrefixedTagNameMap, PrefixedElementTag, Prettify } from "../types.js"; import { Children, ElementAttributesTagNameMap, WithChildren, WithInnerHTML } from "./types.js"; //#region src/alien-deepsignals/index.d.ts /** * Creates a DOM element with [alien-deepsignals](https://github.com/CCherry07/alien-deepsignals) aware attributes, styles, datasets, and innerHTML. * @param tag Element tag name including SVG/MathML prefixes. * @param attributes Optional attribute bag that can contain reactive `class`, `style`, `data`, and `innerHTML` props. Cannot have children when innerHTML is set. */ declare function createElement(tag: T, attributes: Prettify>): ElementPrefixedTagNameMap[T]; /** * Creates a DOM element with [alien-deepsignals](https://github.com/CCherry07/alien-deepsignals) aware attributes, styles, datasets, and children. * @param tag Element tag name including SVG/MathML prefixes. * @param attributes Optional attribute bag that can contain reactive `class`, `style`, `data`, and `children` props. * @param children Additional children appended after `attributes.children`. */ declare function createElement(tag: T, attributes?: Prettify> | null, ...children: Children[]): ElementPrefixedTagNameMap[T]; /** * Shorthand alias for {@link createElement} to align with JSX/hyperscript expectations. */ declare const h: typeof createElement; //#endregion export { createElement, h }; //# sourceMappingURL=index.d.ts.map