license import { CssClasses } from './constants' ; /**
 * The state of the switch.
 */ export interface MDCSwitchState { /**
     * Indicates whether or not the switch is disabled.
     */ disabled : boolean ; /**
     * Indicates whether or not the switch is processing and showing a loading
     * indicator. A disabled switch cannot be processing.
     */ processing : boolean ; /**
     * If true, the switch is on. If false, the switch is off.
     */ selected : boolean ; } /**
 * Defines the shape of the adapter expected by the foundation.
 *
 * This adapter is used to delegate state-only updates from the foundation
 * to the component. It does not delegate DOM or rendering logic, such as adding
 * or removing classes.
 */ export interface MDCSwitchAdapter { /**
     * The state of the component.
     */ state : MDCSwitchState ; } /**
 * Defines the shape of the adapter expected by the rendering foundation.
 *
 * This adapter is used to delegate state and rendering logic updates from the
 * rendering foundation to the component.
 */ export interface MDCSwitchRenderAdapter extends MDCSwitchAdapter { param className addClass ( className ) : void ; param className return hasClass ( className ) : boolean ; return isDisabled ( ) : boolean ; param className removeClass ( className ) : void ; param ariaChecked setAriaChecked ( ariaChecked ) : void ; param disabled setDisabled ( disabled ) : void ; }