import { Http } from '@angular/http'; import { Router } from '@angular/router'; import 'rxjs/add/operator/map'; import { Observable } from 'rxjs/Observable'; export declare class AuthenticationService { private http; private router; private token; static getUsername(): string; constructor(http: Http, router: Router); isLoggedIn(): boolean; login(username: string, password: string, portalID: number): Observable; logout(): void; }