import type { ListTable } from '@visactor/vtable';
import type { MenuItemOrSeparator } from './types';
interface MenuContext {
    rowIndex?: number;
    colIndex?: number;
}
export declare class MenuManager {
    private menuContainer;
    private activeSubmenus;
    private clickCallback;
    private table;
    private context;
    private hideTimeout;
    private showTimeout;
    private submenuShowDelay;
    private submenuHideDelay;
    showMenu(menuItems: MenuItemOrSeparator[], x: number, y: number, context: MenuContext, table: ListTable): void;
    setClickCallback(callback: Function): void;
    private createMenuItems;
    private showSubmenu;
    private closeAllSubmenus;
    private positionMenu;
    private handleMenuItemClick;
    private handleDocumentClick;
    release(): void;
}
export {};
