import { ViewSlot } from "aurelia-framework";
export declare class UIContextmenu {
    protected element: Element;
    private viewSlot;
    menuItems: any;
    theme: string;
    private id;
    private contextMenu;
    private clickSubscription;
    constructor(element: Element, viewSlot: ViewSlot);
    protected attached(): void;
    protected createContextMenu(): void;
    protected detached(): void;
    hideContextMenu(): void;
    handleClick(ev: MouseEvent): void;
    handleKeypressed(ev: MouseEvent): void;
}
