/** * MenuManager - handles menu bar interactions. * * Queries DOM by stable ids for individual controls and by .sharpee-* * classes for generic affordances (per ADR-170 component contract). * State is expressed via the `--open` modifier on .sharpee-menu-bar-item * and the native `aria-expanded` attribute on the trigger button. */ import type { MenuHandlers } from '../types'; export interface MenuManagerConfig { menuBar: HTMLElement | null; handlers: MenuHandlers; } export declare class MenuManager { private handlers; constructor(config: MenuManagerConfig); /** * Close every open menu and clear all aria-expanded flags. */ closeAllMenus(): void; /** * Toggle the menu owned by the given trigger button. The trigger's * parent .sharpee-menu-bar-item carries the --open state modifier * that theme CSS reacts to. */ toggleMenu(triggerEl: HTMLElement): void; setupHandlers(): void; } //# sourceMappingURL=MenuManager.d.ts.map