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 MDCTextFieldIconAdapter { /**
     * Gets the value of an attribute on the icon element.
     */ getAttr ( attr ) : string | null ; /**
     * Sets an attribute on the icon element.
     */ setAttr ( attr , value ) : void ; /**
     * Removes an attribute from the icon element.
     */ removeAttr ( attr ) : void ; /**
     * Sets the text content of the icon element.
     */ setContent ( content ) : void ; /**
     * Registers an event listener on the icon element for a given event.
     */ registerInteractionHandler < K extends EventType > ( evtType , handler ) : void ; /**
     * Deregisters an event listener on the icon element for a given event.
     */ deregisterInteractionHandler < K extends EventType > ( evtType , handler ) : void ; /**
     * Emits a custom event "MDCTextField:icon" denoting a user has clicked the icon.
     */ notifyIconAction ( ) : void ; }