license import { EventType , SpecificEventListener , SpecificWindowEventListener , WindowEventType } from '@material/base/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 MDCDialogAdapter { addClass ( className ) : void ; removeClass ( className ) : void ; hasClass ( className ) : boolean ; addBodyClass ( className ) : void ; removeBodyClass ( className ) : void ; eventTargetMatches ( target , selector ) : boolean ; isContentScrollable ( ) : boolean ; areButtonsStacked ( ) : boolean ; getActionFromEvent ( evt ) : string | null ; trapFocus ( focusElement ) : void ; releaseFocus ( ) : void ; getInitialFocusEl ( ) : HTMLElement | null ; clickDefaultButton ( ) : void ; reverseButtons ( ) : void ; notifyOpening ( ) : void ; notifyOpened ( ) : void ; notifyClosing ( action ) : void ; notifyClosed ( action ) : void ; /**
     * Registers an event listener on the dialog's content element (indicated
     * with the 'mdc-dialog__content' class).
     */ registerContentEventHandler < K extends EventType > ( evtType , handler ) : void ; /**
     * Deregisters an event listener on the dialog's content element.
     */ deregisterContentEventHandler < K extends EventType > ( evtType , handler ) : void ; return isScrollableContentAtTop ( ) : boolean ; return isScrollableContentAtBottom ( ) : boolean ; /**
     * Registers an event listener to the window.
     */ registerWindowEventHandler < K extends WindowEventType > ( evtType , handler ) : void ; /**
     * Deregisters an event listener to the window.
     */ deregisterWindowEventHandler < K extends WindowEventType > ( evtType , handler ) : void ; }