export declare function on(el: HTMLElement, event: K, handler: (e: HTMLElementEventMap[K]) => void, options?: boolean | AddEventListenerOptions): () => void;
export declare function dispatch(el: HTMLElement, event: string, detail: unknown, cancelable?: boolean): boolean;
export declare function el(tag: K, attrs?: Record, ...children: (HTMLElement | string | null | undefined)[]): HTMLElementTagNameMap[K];