import { Widget } from "./Widget.ts";
export declare class HTMLWidget extends Widget {
    private observer;
    protected _drawStartPos: "origin" | "center";
    protected _boundingBox: any;
    constructor();
    calcFrameWidth(element: any): number;
    calcWidth(element: any): number;
    calcFrameHeight(element: any): number;
    calcHeight(element: any): number;
    hasHScroll(element?: any): boolean;
    hasVScroll(element?: any): boolean;
    clientWidth(): number;
    clientHeight(): number;
    getBBox(refresh?: boolean, round?: boolean): {
        x: number;
        y: number;
        width: number;
        height: number;
    };
    reposition(pos?: any): this;
    resize(size?: any): this;
    target(): null | HTMLElement | SVGElement;
    target(_: null | string | HTMLElement | SVGElement): this;
    postUpdate(domNode: any, element: any): void;
    exit(domNode?: any, element?: any): void;
}
