/** * Creates a TreeWalker for menu items, skipping disabled/hidden items and non-items. */ export declare function createMenuWalker(root: HTMLElement): TreeWalker; /** * Returns the next enabled menu item after the current one, or null if none. */ export declare function getNextMenuItem(current: HTMLElement): HTMLElement | null; /** * Returns the previous enabled menu item before the current one, or null if none. */ export declare function getPreviousMenuItem(current: HTMLElement): HTMLElement | null; /** * Returns the first enabled menu item in the menu. */ export declare function getFirstMenuItem(root: HTMLElement): HTMLElement | null; /** * Returns the last enabled menu item in the menu. */ export declare function getLastMenuItem(root: HTMLElement): HTMLElement | null;