license import { EventType , SpecificEventListener } 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 MDCFloatingLabelAdapter { /**
     * Adds a class to the label element.
     */ addClass ( className ) : void ; /**
     * Removes a class from the label element.
     */ removeClass ( className ) : void ; /**
     * Returns the width of the label element.
     */ getWidth ( ) : number ; /**
     * Registers an event listener on the root element for a given event.
     */ registerInteractionHandler < K extends EventType > ( evtType , handler ) : void ; /**
     * Deregisters an event listener on the root element for a given event.
     */ deregisterInteractionHandler < K extends EventType > ( evtType , handler ) : void ; }