import type { AgColumn, CellCtrl, EventShowContextMenuParams, IContextMenuService, NamedBean, RowCtrl, RowNode } from 'ag-grid-community';
import { BeanStub } from 'ag-grid-community';
export declare class ContextMenuService extends BeanStub implements NamedBean, IContextMenuService {
    beanName: "contextMenuSvc";
    private menu;
    private focusedCell;
    postConstruct(): void;
    hideActiveMenu(): void;
    private getMenuItems;
    getContextMenuPosition(rowNode?: RowNode | null, column?: AgColumn | null): {
        x: number;
        y: number;
    };
    showContextMenu(params: EventShowContextMenuParams & {
        anchorToElement?: HTMLElement;
    }): void;
    handleContextMenuMouseEvent(mouseEvent: MouseEvent | undefined, touchEvent: TouchEvent | undefined, rowCtrl: RowCtrl | null, cellCtrl: CellCtrl): void;
    private beforeMenuOpen;
    private onMenuOpen;
    private onMenuClose;
    private afterMenuDestroyed;
    private dispatchVisibleChangedEvent;
    private getRowCtrl;
    private getCellGui;
    private getContextMenuAnchorElement;
    private mapWithStockItems;
}
