import type { AgContextMenuGetItemsCallback, AgContextMenuItem } from 'ag-charts-community';
import { _ModuleSupport } from 'ag-charts-community';
import { AbstractModuleInstance } from 'ag-charts-core';
export declare class ContextMenu extends AbstractModuleInstance {
    readonly ctx: _ModuleSupport.ModuleContext;
    enabled: boolean;
    darkTheme: boolean;
    readonly items: readonly Readonly<AgContextMenuItem>[];
    readonly getItems?: AgContextMenuGetItemsCallback;
    private readonly interactionManager;
    private pickedNode;
    private pickedLegendItem?;
    private showEvent;
    private x;
    private y;
    private collapsingSubMenus;
    private readonly element;
    private readonly menuWidget;
    private readonly mutationObserver?;
    constructor(ctx: _ModuleSupport.ModuleContext);
    private makeGetItemsParams;
    private expandItemsOptions;
    private onContext;
    private show;
    private hide;
    private onCollapse;
    private onSubMenuExpand;
    private onSubMenuCollapse;
    private createMenu;
    private createMenuItems;
    private createButtonOnClick;
    private initTableCells;
    private initButtonElement;
    private reposition;
    destroy(): void;
}
