license import { Action , CloseReason } from './constants' ; /**
 * 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 MDCBannerAdapter { /**
     * Adds the given class to the banner root element.
     */ addClass ( className ) : void ; return getContentHeight ( ) : number ; /**
     * Broadcasts an event denoting that the banner has finished closing.
     */ notifyClosed ( reason ) : void ; /**
     * Broadcasts an event denoting that the banner has just started closing.
     */ notifyClosing ( reason ) : void ; /**
     * Broadcasts an event denoting that the banner has finished opening.
     */ notifyOpened ( ) : void ; /**
     * Broadcasts an event denoting that the banner has just started opening.
     */ notifyOpening ( ) : void ; /**
     * Broadcasts an event denoting that a banner button was clicked without
     * changing the banner state.
     */ notifyActionClicked ( action ) : void ; /**
     * Releases focus from banner and restores focus to the previously focused
     * element.
     */ releaseFocus ( ) : void ; /**
     * Removes the given class from the banner root element.
     */ removeClass ( className ) : void ; /**
     * Sets a style property of the banner root element to the passed value.
     */ setStyleProperty ( propertyName , value ) : void ; /**
     * Traps focus in banner and focuses on the primary action button.
     */ trapFocus ( ) : void ; }