export interface UserInteraction { param msg askForConsent ( msg ) : Promise < boolean > ; param url openUrl ( url ) : Promise < boolean > ; } export interface AuthRequest { /**
     * Gets the state to send with the oauth request
     */ getState ( ) : string ; param signInUrl param state getAuthorizationCode ( signInUrl , authCompletePromise ) : Promise < string > ; param msg param userCode param verificationUrl displayDeviceCodeScreen ( msg , userCode , verificationUrl ) : Promise < void > ; /**
     * Closes the device code screen
     */ closeDeviceCodeScreen ( ) : Promise < void > ; }