import { type Designer, type Point } from '../designer';
export type AutoFit = '100%';
export declare const AutoFit: AutoFit;
export declare class Viewport {
    readonly designer: Designer;
    private accessor rect;
    private _bounds?;
    get bounds(): DOMRect;
    get contentBounds(): DOMRect;
    private viewportElement?;
    constructor(designer: Designer);
    mount(viewportElement: HTMLElement | null): void;
    touch(): void;
    get height(): number;
    set height(newHeight: number);
    get width(): number;
    set width(newWidth: number);
    private accessor _scale;
    get scale(): number;
    set scale(newScale: number);
    private accessor _contentWidth;
    private accessor _contentHeight;
    get contentHeight(): number | AutoFit;
    set contentHeight(newContentHeight: number | AutoFit);
    get contentWidth(): number | AutoFit;
    set contentWidth(val: number | AutoFit);
    toGlobalPoint(point: Point): Point;
    toLocalPoint(point: Point): Point;
}
