import { ViewContainerRef } from '@angular/core'; import { MatDialog } from '@angular/material/dialog'; import { ContextMenuItem } from './types'; import { NgxAppMenuOptions } from './appmenu.directive'; import * as i0 from "@angular/core"; export declare class NgxContextMenuDirective { private dialog; private viewContainer; /** * The data representing the item the context-menu was opened for. */ data: any; /** * The items that will be bound to the context menu. */ menuItems: ContextMenuItem[]; /** * Configuration for opening the app menu */ config: NgxAppMenuOptions; constructor(dialog: MatDialog, viewContainer: ViewContainerRef); onContextMenu(evt: PointerEvent): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵdir: i0.ɵɵDirectiveDeclaration; } export declare const openContextMenu: (dialog: MatDialog, menuItems: ContextMenuItem[], data: any, evt: PointerEvent, config?: NgxAppMenuOptions) => Promise;