type ElementProperties = {
[key in keyof HTMLElementTagNameMap[T]]: HTMLElementTagNameMap[T][key];
} & {
[key in keyof HTMLElementEventMap as `@${key}`]: (this: HTMLElement, ev: HTMLElementEventMap[key]) => void;
};
type DOMElem = Node | string;
type WithClassOrId = `${T}#${string}` | `${T}.${string}`;
export declare function $el(name: T | WithClassOrId, ...desc: [Partial>, ...DOMElem[]] | DOMElem[]): HTMLElementTagNameMap[T];
export default $el;