import { ChangeDetectorRef, ElementRef, EventEmitter, Injector, OnDestroy, OnInit } from '@angular/core';
import { Any, Nullable } from '@angular-ru/cdk/typings';
import { ContextItemEvent } from '../../../interfaces/table-builder.external';
import { ContextMenuState } from '../../../services/context-menu/context-menu-state';
import * as i0 from "@angular/core";
export declare class NgxContextMenuItemComponent<T = Any> implements OnInit, OnDestroy {
    private readonly cd;
    private subscription;
    private taskId;
    private readonly contextMenu;
    private readonly ngZone;
    visible: string | boolean;
    contextTitle: Nullable<string | boolean>;
    disable: Nullable<string | boolean>;
    divider: Nullable<string | boolean>;
    disableSubMenu: boolean;
    subMenuWidth: number;
    readonly onClick: EventEmitter<ContextItemEvent>;
    itemRef: Nullable<ElementRef<HTMLDivElement>>;
    offsetX: Nullable<number>;
    offsetY: Nullable<number>;
    constructor(cd: ChangeDetectorRef, injector: Injector);
    get state(): ContextMenuState<T>;
    get clientRect(): Partial<DOMRect>;
    private get itemElement();
    ngOnInit(): void;
    ngOnDestroy(): void;
    calculateSubMenuPosition(ref: HTMLDivElement): void;
    overflowX(): number;
    overflowY(ref: HTMLDivElement): number;
    emitClick(event: MouseEvent): void;
    private deferCloseMenu;
    private deferUpdateView;
    static ɵfac: i0.ɵɵFactoryDeclaration<NgxContextMenuItemComponent<any>, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<NgxContextMenuItemComponent<any>, "ngx-context-menu-item", never, { "visible": "visible"; "contextTitle": "contextTitle"; "disable": "disable"; "divider": "divider"; "disableSubMenu": "disable-sub-menu"; "subMenuWidth": "sub-menu-width"; }, { "onClick": "onClick"; }, never, ["ngx-menu-content", "ngx-context-menu-item"]>;
}
//# sourceMappingURL=ngx-context-menu-item.component.d.ts.map