import type { OnInit, AfterViewInit, TemplateRef, OnDestroy } from '@angular/core'; import type { CuiContextMenuItem } from '../../interfaces'; import * as i0 from "@angular/core"; import * as i1 from "@cuby-ui/cdk"; export declare class CuiContextMenuComponent implements OnInit, AfterViewInit, OnDestroy { private readonly viewContainerRef; private readonly document; private readonly documentElement; private readonly window; private readonly destroy$; private readonly cuiClickOutsideDirective; private readonly cuiTargetDirective; protected readonly EXTRA_OFFSET_LEFT = 0; protected readonly EXTRA_OFFSET_TOP = 0; protected isVisible: boolean; protected node?: HTMLDivElement; items: CuiContextMenuItem[]; target: HTMLElement; width: string; withPaddings: boolean; protected readonly list: TemplateRef; protected readonly backdrop: TemplateRef; ngOnInit(): void; ngOnDestroy(): void; ngAfterViewInit(): void; protected onSelect(item: CuiContextMenuItem): void; protected onClose(): void; protected onStopClickPropagation(event: MouseEvent): void; protected trackByFn(_: number, item: CuiContextMenuItem): string; private initClickOutsideSubscription; private initTargetElementListener; private initHidingSubscription; private initHidingFromWindowEvent; private targetEventListener; private close; private renderList; private changePosition; private clearViewContainerRef; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }