import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { SDKConfig } from '../config/sdk-config.interface'; import { MessageService } from '../message'; import { User, UserPreference } from '../user'; import { AuthStore } from './auth.store'; import { LoginResponse } from './interfaces'; export declare function serializePreferences(preferences?: UserPreference[]): UserPreference[]; export declare class AuthService { private store; private http; private messageService; private config; private get _resourceURI(); constructor(store: AuthStore, http: HttpClient, messageService: MessageService, config: SDKConfig); login(props: { email: string; password: string; }): Observable | LoginResponse>; loginWithGoogle(token: string): Observable; reloadUser(): Observable; updateUser(user: User): void; private _handleLogin; loginStoredUser(token?: string, u?: User): Observable; register(body: User): Observable; logout(navigate?: boolean): void; changePassword(password: string, newPassword: string): Observable; registerDeviceToken(token: string): void; }