import { ElementRef, EventEmitter, TemplateRef } from '@angular/core'; import { DropdownOption } from '@sebgroup/green-angular/src/lib/dropdown'; import * as i0 from "@angular/core"; /** * MenuItems extends DropDown option and adds the posibility to pass a custom template for just one item. */ interface MenuItems extends DropdownOption { template?: TemplateRef; } /** * @deprecated * NggContextMenu is deprecated in favor of GdsContextMenu found in the Core package * https://storybook.seb.io/latest/core/?path=/docs/components-context-menu--docs */ export declare class NggContextMenuComponent { private elementRef; /** * Placement of the popover relative to the anchor element. */ direction: 'ltr' | 'rtl'; /** * List of items to be displayed in the context menu. */ menuItems: MenuItems[]; /** * Custom menu item template. */ menuItemTemplate: TemplateRef | null; /** * Custom menu trigger template. */ menuAnchorTemplate: TemplateRef | null; /** * Emits when a menu item is clicked. */ contextMenuItemClicked: EventEmitter; popover: ElementRef; anchor: ElementRef; isActive: boolean; constructor(elementRef: ElementRef); get placement(): string; open(): void; close(): void; onItemClick(item: DropdownOption): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; } export {};