import { AngularFireAuth } from '@angular/fire/auth'; import { Observable } from 'rxjs'; import * as _firebase from 'firebase/app'; import 'firebase/auth'; export declare type loginType = 'phonenumber' | 'github'; export declare class AuthService { private fbAuth; windowRef: any; _idTokenResult: firebase.auth.IdTokenResult; user: Observable<_firebase.User>; idTokenResult: Observable<_firebase.auth.IdTokenResult>; private signedIn; constructor(fbAuth: AngularFireAuth); readonly uid: string; readonly as: string; readonly tags: string[]; readonly currentUser: firebase.User; getIdTokenResult(): Promise; upgradeToken(survey_id: string, as?: string, tags?: string[]): Observable; signInWithCustomToken(token: string): Observable; logout(): Promise; getSurveyScope(scopeType: 'reply' | 'replies' | 'compose' | 'view'): boolean | string; }