/** * Menu mixin — open/close orchestration, repaint dispatch, keyboard nav. * * `menuControl.ts` owns the pure rendering and aria-management logic * (openMainMenu, openSubMenu, closeAllMenus, repaint*, syncActiveIndexes, * wireMenuKeyboardNav). This mixin binds those functions to the plugin's * state bags (`_menuControlState`, `_activityState`, `menus`, * `_menuControlRefs`) and the lifecycle-managed `listen`. * * Owns: openMainMenu, openSubMenu, closeAllMenus, syncActiveIndexes, * wireMenuKeyboardNav, repaintSubsIfOpen, repaintAudioIfOpen, * repaintQualityIfOpen, repaintSpeedIfOpen, repaintPlaylistIfOpen, * repaintAspectRatioIfOpen. */ import type { SubMenuId } from '../helpers/menus.js'; import type { DesktopUiInternals } from '../internals.js'; export declare const menuMethods: { readonly openMainMenu: (this: DesktopUiInternals) => void; readonly openSubMenu: (this: DesktopUiInternals, id: SubMenuId) => void; readonly wireMenuKeyboardNav: (this: DesktopUiInternals) => void; readonly closeAllMenus: (this: DesktopUiInternals) => void; readonly syncActiveIndexes: (this: DesktopUiInternals) => void; readonly repaintSubsIfOpen: (this: DesktopUiInternals) => void; readonly repaintAudioIfOpen: (this: DesktopUiInternals) => void; readonly repaintQualityIfOpen: (this: DesktopUiInternals) => void; readonly repaintSpeedIfOpen: (this: DesktopUiInternals) => void; readonly repaintPlaylistIfOpen: (this: DesktopUiInternals) => void; readonly repaintAspectRatioIfOpen: (this: DesktopUiInternals) => void; };