import { ElementRef } from '@angular/core'; import { ContextMenuComponent } from './context-menu.component'; import * as i0 from "@angular/core"; /** * Directive that controls the opening and the closing of the context-menu, * once the host element is right-clicked */ export declare class ContextMenuDirective { el: ElementRef; smeContextMenu: ContextMenuComponent; constructor(el: ElementRef); /** * Listens for the right-click event on the host * Opens custom contextmenu except when text is highlighted or link is clicked */ onClick(event: Event): void; documentClick(): void; onKeyup(event: KeyboardEvent): void; /** * Called once right-click is triggered and toggles the isOpen from the contextMenu * It controls the opening and closing of contextMenu */ openContextMenu($event: any): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; }