license import { MDCMenuItemEventDetail } from './types' ; /**
 * Implement this adapter for your framework of choice to delegate updates to
 * the component in your framework of choice. See architecture documentation
 * for more details.
 * https://github.com/material-components/material-components-web/blob/master/docs/code/architecture.md
 */ export interface MDCMenuAdapter { /**
     * Adds a class to the element at the index provided.
     */ addClassToElementAtIndex ( index , className ) : void ; /**
     * Removes a class from the element at the index provided
     */ removeClassFromElementAtIndex ( index , className ) : void ; /**
     * Adds an attribute, with value, to the element at the index provided.
     */ addAttributeToElementAtIndex ( index , attr , value ) : void ; /**
     * Removes an attribute from an element at the index provided.
     */ removeAttributeFromElementAtIndex ( index , attr ) : void ; return getAttributeFromElementAtIndex ( index , attr ) : string | null ; return elementContainsClass ( element , className ) : boolean ; param skipRestoreFocus closeSurface ( skipRestoreFocus ? ) : void ; return getElementIndex ( element ) : number ; /**
     * Emit an event when a menu item is selected.
     */ notifySelected ( evtData ) : void ; return getMenuItemCount ( ) : number ; param index focusItemAtIndex ( index ) : void ; /** Focuses the list root element. */ focusListRoot ( ) : void ; return param index getSelectedSiblingOfItemAtIndex ( index ) : number ; return param index isSelectableItemAtIndex ( index ) : boolean ; }