//#region src/shared/menu.types.d.ts type MenuItemType = "normal" | "separator" | "submenu" | "checkbox" | "radio"; type MenuItemRole = "undo" | "redo" | "cut" | "copy" | "paste" | "pasteAndMatchStyle" | "delete" | "selectAll" | "reload" | "forceReload" | "toggleDevTools" | "resetZoom" | "zoomIn" | "zoomOut" | "toggleSpellChecker" | "togglefullscreen" | "window" | "minimize" | "close" | "help" | "about" | "services" | "hide" | "hideOthers" | "unhide" | "quit" | "showSubstitutions" | "toggleSmartQuotes" | "toggleSmartDashes" | "toggleTextReplacement" | "startSpeaking" | "stopSpeaking" | "zoom" | "front" | "appMenu" | "fileMenu" | "editMenu" | "viewMenu" | "shareMenu" | "recentDocuments" | "toggleTabBar" | "selectNextTab" | "selectPreviousTab" | "showAllTabs" | "mergeAllWindows" | "clearRecentDocuments" | "moveTabToNewWindow" | "windowMenu"; interface MenuItemConstructorOptions { role?: MenuItemRole; type?: MenuItemType; label?: string; sublabel?: string; toolTip?: string; accelerator?: string; icon?: string; enabled?: boolean; acceleratorWorksWhenHidden?: boolean; visible?: boolean; checked?: boolean; registerAccelerator?: boolean; submenu?: MenuItemConstructorOptions[]; id?: string; before?: string[]; after?: string[]; beforeGroupContaining?: string[]; afterGroupContaining?: string[]; } interface MenuItemData { id?: string; label?: string; sublabel?: string; toolTip?: string; accelerator?: string; icon?: string; type?: MenuItemType; role?: MenuItemRole; enabled?: boolean; visible?: boolean; checked?: boolean; registerAccelerator?: boolean; submenu?: MenuItemData[]; commandId?: number; } interface MenuData { items: MenuItemData[]; } interface PopupOptions { windowId?: number; x?: number; y?: number; positioningItem?: number; sourceType?: "none" | "mouse" | "keyboard" | "touch" | "touchMenu" | "longPress" | "longTap" | "touchHandle" | "stylus" | "adjustSelection" | "adjustSelectionReset"; } interface MenuEventCallbacks { "menu-will-show": () => void; "menu-will-close": () => void; } //#endregion export { PopupOptions as a, MenuItemData as i, MenuEventCallbacks as n, MenuItemConstructorOptions as r, MenuData as t }; //# sourceMappingURL=menu.types-3WHPDaL6.d.mts.map