import { Injector } from '@angular/core'; import { APIClientService } from '../common/api-client.service'; import { AuthService } from '../auth/auth.service'; import { EventsManagerService } from '../common/events-manager.service'; import { Observable } from 'rxjs/Observable'; import { HttpInterceptor } from '../common/http-interceptor.service'; import { AppConfigurationService } from '../common/app-configuration.service'; import 'rxjs/add/operator/do'; import 'rxjs/add/observable/empty'; export declare class Oauth2Service extends APIClientService { private isRefreshingToken; constructor(http: HttpInterceptor, authService: AuthService, eventsService: EventsManagerService, AppConfiguration: AppConfigurationService, injector: Injector); logout(): void; login(username: string, password: string): Observable; loginIntegration(provider: string, token: string): Observable; authenticateClient(clientId: string, clientSecret: string): Observable; refreshToken(triggerStart?: boolean): Observable; }