/// import { BehaviorSubject, Observable } from 'rxjs'; import { User, UserCredential, AuthProvider as FirebaseAuthProvider } from '@firebase/auth-types'; import { AngularFireAuth } from '@angular/fire/auth'; export declare const DUMMYAUTHERROR: { notFound: { code: string; message: string; a: any; }; emailBadlyFormatted: { code: string; message: string; a: any; }; weakPassword: { code: string; message: string; a: any; }; requiresRecentLogin: { code: string; message: string; a: any; }; }; declare type SignInWithEmailAndPasswordFn = (email: string, password: string) => Promise; declare type SignInAnonymouslyFn = () => Promise; declare type CreateUserWithEmailAndPasswordFn = (email: string, password: string) => Promise; declare type SignInWithPopupFn = (provider: FirebaseAuthProvider) => Promise; declare type UpdateCurrentUserFn = (user: User) => Promise; declare type SignOutFn = () => Promise; declare type sendPasswordResetEmailFn = (email: string) => Promise; declare type SignInWithCredentialFn = (credential: UserCredential) => Promise; export declare class FakeAngularFireAuth { get authState(): Observable; readonly _authState$: BehaviorSubject; get user(): Observable; get currentUser(): Promise; readonly _user$: BehaviorSubject; signInWithEmailAndPassword: jasmine.Spy; signInWithPopup: jasmine.Spy; signInAnonymously: jasmine.Spy; createUserWithEmailAndPassword: jasmine.Spy; updateCurrentUser: jasmine.Spy; signOut: jasmine.Spy; sendPasswordResetEmail: jasmine.Spy; signInWithCredential: jasmine.Spy; constructor(); static create(): AngularFireAuth & FakeAngularFireAuth; } export {};