import { Observable } from 'rxjs'; import { LocalService } from './local.service'; import { OauthService } from './oauth.service'; import { SharedService } from './shared.service'; import { StorageType } from './storage-type.enum'; import * as i0 from "@angular/core"; export declare class AuthService { private shared; private local; private oauth; constructor(shared: SharedService, local: LocalService, oauth: OauthService); login(user: string | object, url?: string): Observable; signup(user: string | object, url?: string): Observable; logout(): Observable; authenticate(name: string, userData?: any): Observable; link(name: string, userData?: any): Observable; unlink(provider: string, url?: string): Observable; isAuthenticated(): boolean; getToken(): string | null; setToken(token: string | object): void; removeToken(): void; getPayload(): any; setStorageType(type: StorageType): boolean; getExpirationDate(): Date | null; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }