import { UiComponent } from "../UiComponent";
export declare class ContextMenu {
    private width;
    private height;
    private viewPortPadding;
    private content;
    private $main;
    private $spinner;
    private currentRequestId;
    constructor();
    setContent(content: UiComponent, requestId?: number): void;
    open(e: PointerEvent | MouseEvent, contextMenuRequestCallback: (requestId: number) => any): void;
    close(requestId?: number): void;
    setSize(width: number, height: number): void;
    private updateSize;
}
