import { Overlay } from '@angular/cdk/overlay';
import { ElementRef, TemplateRef, ViewContainerRef } from '@angular/core';
import * as i0 from "@angular/core";
export declare class BsContextMenuDirective {
    private overlay;
    private templateRef;
    private viewContainerRef;
    private element;
    constructor(overlay: Overlay, templateRef: TemplateRef<any>, viewContainerRef: ViewContainerRef, element: ElementRef);
    private overlayRef;
    private templatePortal;
    clickAnywhere(ev: MouseEvent): void;
    private onBlur;
    private close;
    private checkAndCloseExisting;
    static ɵfac: i0.ɵɵFactoryDeclaration<BsContextMenuDirective, [null, null, null, { host: true; skipSelf: true; }]>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<BsContextMenuDirective, "[bsContextMenu]", never, {}, {}, never, never, false, never>;
}
