import { NgZone, InjectionToken } from '@angular/core'; import { Observable } from 'rxjs'; import { ɵAngularFireSchedulers } from '@angular/fire'; import { ɵPromiseProxy } from '@angular/fire/compat'; import { FirebaseApp } from '@angular/fire/compat'; import { FirebaseOptions } from 'firebase/app'; import firebase from 'firebase/compat/app'; import { AppCheckInstances } from '@angular/fire/app-check'; import * as i0 from "@angular/core"; export interface AngularFireAuth extends ɵPromiseProxy { } declare type UseEmulatorArguments = Parameters; export declare const USE_EMULATOR: InjectionToken<[url: string]>; export declare const SETTINGS: InjectionToken; export declare const TENANT_ID: InjectionToken; export declare const LANGUAGE_CODE: InjectionToken; export declare const USE_DEVICE_LANGUAGE: InjectionToken; export declare const PERSISTENCE: InjectionToken; export declare const ɵauthFactory: (app: FirebaseApp, zone: NgZone, useEmulator: UseEmulatorArguments | null, tenantId: string, languageCode: string | null, useDeviceLanguage: boolean | null, settings: firebase.auth.AuthSettings | null, persistence: string | null) => firebase.auth.Auth; export declare class AngularFireAuth { /** * Observable of authentication state; as of Firebase 4.0 this is only triggered via sign-in/out */ readonly authState: Observable; /** * Observable of the currently signed-in user's JWT token used to identify the user to a Firebase service (or null). */ readonly idToken: Observable; /** * Observable of the currently signed-in user (or null). */ readonly user: Observable; /** * Observable of the currently signed-in user's IdTokenResult object which contains the ID token JWT string and other * helper properties for getting different data associated with the token as well as all the decoded payload claims * (or null). */ readonly idTokenResult: Observable; /** * Observable of the currently signed-in user's credential, or null */ readonly credential: Observable | null>; constructor(options: FirebaseOptions, name: string | null | undefined, platformId: Object, zone: NgZone, schedulers: ɵAngularFireSchedulers, useEmulator: any, // can't use the tuple here settings: any, // can't use firebase.auth.AuthSettings here tenantId: string | null, languageCode: string | null, useDeviceLanguage: boolean | null, persistence: string | null, _appCheckInstances: AppCheckInstances); static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export {};