import { BehaviorSubject, Observable } from 'rxjs'; import { HttpClient } from '@angular/common/http'; import { LoginResponse } from './auth-models'; import { Customer } from '../customer/customer-models'; export declare class AuthService { private httpClient; private platformId; private coreConfig; isLoggedIn: BehaviorSubject; permissions: any[]; roles: string[]; token: string; username: string; private _loginURL; private _logoutURL; private _changePasswordURL; private _registerURL; private _activateURL; private _resetActivationTokenURL; private _resetPasswordURL; private _forgotPasswordURL; private _silentLoginPermissionsURL; constructor(httpClient: HttpClient, platformId: string, coreConfig: any); silentLogin(): void; login(username: string, password: string, isCustomer?: boolean): Observable; logout(): Observable; changePassword(currentPassword: string, newPassword: string): Observable; register(customer: Customer): Observable; activate(username: string, activationToken: string): Observable; resetActivationToken(username: string, oldToken: string): Observable; forgotPassword(username: string): Observable; resetPassword(username: string, token: string, password: string): Observable; can(permission: string): boolean; }