license import { FocusOptions , FocusTrap } from '@material/dom/focus-trap' ; /** Banner element classes. */ export const cssClasses = { CLOSING : 'mdc-banner--closing' , OPEN : 'mdc-banner--open' , OPENING : 'mdc-banner--opening' , } ; /** Banner numbers. */ export const numbers = { BANNER_ANIMATION_CLOSE_TIME_MS : 250 , BANNER_ANIMATION_OPEN_TIME_MS : 300 , } ; /** Banner events. */ export const events = { CLOSED : 'MDCBanner:closed' , CLOSING : 'MDCBanner:closing' , OPENED : 'MDCBanner:opened' , OPENING : 'MDCBanner:opening' , ACTION_CLICKED : 'MDCBanner:actionClicked' , } ; /** Banner selectors. */ export const selectors = { CONTENT : '.mdc-banner__content' , PRIMARY_ACTION : '.mdc-banner__primary-action' , SECONDARY_ACTION : '.mdc-banner__secondary-action' , TEXT : '.mdc-banner__text' , } ; /** Reason as to why the banner was closed. */ export enum CloseReason { PRIMARY , SECONDARY , UNSPECIFIED } /**
 * Payload of actionClicked events to signify which action emitted the event.
 */ export const enum Action { PRIMARY , SECONDARY , UNKNOWN } /** Interface for the detail of the closing and closed events emitted. */ export interface MDCBannerCloseEventDetail { reason : CloseReason ; } /** Interface for the detail of the closing and closed events emitted. */ export interface MDCBannerActionEventDetail { action : Action ; } /**  */ export type MDCBannerFocusTrapFactory = ( element : HTMLElement , options : FocusOptions ) => FocusTrap ;