license import { MDCTabDimensions } from '@material/tab/types' ; /**
 * Defines the shape of the adapter expected by the foundation.
 * 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 MDCTabBarAdapter { param scrollX scrollTo ( scrollX ) : void ; param scrollXIncrement incrementScroll ( scrollXIncrement ) : void ; /**
     * Returns the current scroll position
     */ getScrollPosition ( ) : number ; /**
     * Returns the width of the scroll content
     */ getScrollContentWidth ( ) : number ; /**
     * Returns the root element's offsetWidth
     */ getOffsetWidth ( ) : number ; /**
     * Returns if the Tab Bar language direction is RTL
     */ isRTL ( ) : boolean ; param index setActiveTab ( index ) : void ; param index param clientRect activateTabAtIndex ( index , clientRect ? ) : void ; param index deactivateTabAtIndex ( index ) : void ; param index focusTabAtIndex ( index ) : void ; param index getTabIndicatorClientRectAtIndex ( index ) : ClientRect ; param index getTabDimensionsAtIndex ( index ) : MDCTabDimensions ; /**
     * Returns the length of the tab list
     */ getTabListLength ( ) : number ; /**
     * Returns the index of the previously active tab
     */ getPreviousActiveTabIndex ( ) : number ; /**
     * Returns the index of the focused tab
     */ getFocusedTabIndex ( ) : number ; param id getIndexOfTabById ( id ) : number ; param index notifyTabActivated ( index ) : void ; }