import type { ResourceText } from "./ResourceText.js"; export type ContextMenuItem = { "type": "Separator"; } | { "type": "Item"; key: string; icon: string | null; label: string; /** * event name to be emitted on click, `key` will be sent as payload */ callbackEvent: string; /** * If not null, the item will display a checkbox. * `checked` field will be send as payload. */ checked?: boolean | null; disabled?: boolean | null; } | { "type": "Submenu"; identifier: string; icon: string | null; label: ResourceText; items: Array; }; //# sourceMappingURL=ContextMenuItem.d.ts.map