import { ConnectedPosition } from '@angular/cdk/overlay';
import { OnDestroy, TemplateRef } from '@angular/core';
import * as i0 from "@angular/core";
export declare class ContextMenuDirective implements OnDestroy {
    private readonly overlay;
    private readonly vcr;
    private readonly hostEl;
    private overlayRef?;
    menuTpl: TemplateRef<any>;
    contextData: unknown;
    positions: ConnectedPosition[];
    ngOnDestroy(): void;
    onContextMenu(ev: MouseEvent): void;
    onKeydown(ev: KeyboardEvent): void;
    private openAt;
    close(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<ContextMenuDirective, never>;
    static ɵdir: i0.ɵɵDirectiveDeclaration<ContextMenuDirective, "[valtimoContextMenu]", never, { "menuTpl": { "alias": "valtimoContextMenu"; "required": false; }; "contextData": { "alias": "contextData"; "required": false; }; "positions": { "alias": "positions"; "required": false; }; }, {}, never, never, true, never>;
}
//# sourceMappingURL=context-menu.directive.d.ts.map