import { GemElement } from '@mantou/gem'; export interface MenuItem { text: string; disabled?: boolean; selected?: boolean; handle?: () => void; menu?: MenuItem[]; } declare type MenuState = { activeElement: HTMLElement | null; open: boolean; menuStack: { menu: MenuItem[]; x: number; y: number; }[]; }; export declare const menuStore: import("@mantou/gem").Store; export declare function openContextMenu(activeElement: HTMLElement | null, x: number, y: number, menu: MenuItem[]): void; export declare function pointerDownHandle(): void; export declare class GemPanelMenuElement extends GemElement { #private; stopPropagation: (evt: Event) => void; mounted: () => void; render: () => import("@mantou/gem").TemplateResult; } export {}; //# sourceMappingURL=menu.d.ts.map