import { Attributes, TagNameMap } from "../element-common.js";
/**
 * Internal function to create a jsx element.
 *
 * @param tagName The tag name.
 * @param attrs The attributes to set with optional children.
 * @returns The element.
 */
export declare function createElement<K extends keyof TagNameMap>(tagName: K, attrs: Attributes<TagNameMap[K]>): TagNameMap[K];
export declare function createElement<E extends Element>(tagName: string, attrs: Attributes<E>): E;
