import { Component } from 'vue'; export interface RightMenuItem { label?: string | (() => string); icon?: Component; disabled?: boolean; variant?: 'default' | 'destructive'; onClick?: (...args: any[]) => any; children?: RightMenuItem[]; type?: 'item' | 'separator' | 'label'; shortcut?: string; } export declare function open(event: MouseEvent | { x: number; y: number; }, items: RightMenuItem[], options?: { onClose?: () => void; }): void; export declare function close(): void; export declare const rightMenu: { open: typeof open; close: typeof close; }; /** @deprecated Use RightMenuItem instead */ export interface typeZContentMenuLegacyItem { label: string | (() => string); disabled?: boolean; icon?: Component; onClick?: (...args: any[]) => any; children?: typeZContentMenuLegacyItem[]; placement?: 'inline' | 'right'; key?: string; } /** @deprecated Use RightMenuItem[] directly */ export type typeZContentMenu = { items: typeZContentMenuLegacyItem[]; }; /** @deprecated Use rightMenu.open() instead */ export declare const zContentMenuUtils: { pop(event: MouseEvent, items: typeZContentMenuLegacyItem[]): void; };