declare class View {
    el: HTMLElement;
    handler: {
        [k: string]: ((...args: any[]) => void)[];
    };
    isUnmounted: boolean;
    private transitionTimer;
    constructor(element?: HTMLElement);
    on(type: string, listener: EventListener, options?: boolean | AddEventListenerOptions): void;
    off(type: string, listener: EventListener, options?: boolean | AddEventListenerOptions): void;
    setAttrs(obj: Record<string, any>): void;
    setStyle(obj: Record<string, string>): void;
    updateTransition(enabled?: boolean, propName?: string): void;
    html(htmlStr: string): void;
    getHeight(): number;
    setHeight(num: number | string): void;
    setTransitionHeight(num: number | string): void;
    addClass(className?: string | string[]): void;
    removeClass(className?: string | string[]): void;
    show(): void;
    hide(): void;
    destroy(): void;
}
export default View;
