/**
 * ng2-adal-test - Use Azure AD Library - ADAL in Angular 4 & 2. For Angular 4, use latest version 1.x.x. For Angular 2 use 0.3.1 version.
 * @version v2.0.1
 * @link https://github.com/sureshchahal/angular2-adal#readme
 * @license MIT
 */
declare module 'adal-angular' {
    export function inject(config: adal.Config): adal.AuthenticationContext;
}

declare namespace adal {
    interface AuthenticationContext {
        REQUEST_TYPE: {
            LOGIN: string,
            RENEW_TOKEN: string,
            UNKNOWN: string
        };

        callback : any;

        _getItem : any;

        _renewFailed : any;

        CONSTANTS : any;
    }

}

interface Window {
    AuthenticationContext : any;
    callBackMappedToRenewStates : any;
}

