import { Dispose } from './dispose';
export declare function createEle<T extends HTMLElement>(tag?: string, attrs?: Record<string, any>, children?: string | Node[], classPrefix?: string): T;
export declare function getEle(el: HTMLElement | string | undefined | null): HTMLElement | null;
export declare function removeEle(el: Element): void;
export declare function addClass<T extends Element>(dom: T, cls?: string, prefix?: string): T;
export declare function removeClass<T extends Element>(dom: T, cls: string, prefix?: string): T;
export declare function removeAllChildNode(el: Element): void;
export declare class DomListener implements Dispose {
    private node;
    private readonly type;
    private handler;
    private options?;
    constructor(node: EventTarget, type: string, handler: (e: any) => void, options?: boolean | AddEventListenerOptions | undefined);
    dispose(): void;
}
