declare class Element {
    el: HTMLElement;
    private dataMap;
    constructor(tag: string | HTMLElement, className?: string);
    data(key: string, value?: any): any;
    on(eventNames: string, handler: (evt: Event) => void): this;
    offset(value?: any): any;
    scroll(v?: any): any;
    box(): DOMRect;
    parent(): Element;
    children(...eles: any[]): any;
    removeChild(el: Node): void;
    child(arg: string | Element | Node): this;
    contains(ele: Node): boolean;
    className(v?: string): any;
    addClass(name: string): this;
    hasClass(name: string): boolean;
    removeClass(name: string): this;
    toggle(cls?: string): boolean;
    toggleClass(name: string): boolean;
    active(flag?: boolean, cls?: string): this;
    checked(flag?: boolean): this;
    disabled(flag?: boolean): this;
    attr(key: string | Record<string, any>, value?: string): any;
    removeAttr(key: string): this;
    html(content?: string): any;
    val(v?: any): any;
    focus(): void;
    cssRemoveKeys(...keys: string[]): this;
    css(name: string | Record<string, any>, value?: string): any;
    computedStyle(): CSSStyleDeclaration;
    show(): this;
    hide(): this;
}
declare const h: (tag: string | HTMLElement, className?: string) => Element;
export { Element, h };
