import * as firebase from 'firebase'; import { Observable } from 'rxjs/Observable'; import { AuthBackend, AuthProviders, FirebaseAuthState, EmailPasswordCredentials } from './auth_backend'; export declare class FirebaseSdkAuthBackend extends AuthBackend { _fbAuth: firebase.auth.Auth; constructor(_fbApp: any); createUser(creds: EmailPasswordCredentials): Promise; getAuth(): FirebaseAuthState; onAuth(): Observable; unauth(): Promise; authWithCustomToken(token: string): Promise; authAnonymously(): Promise; authWithPassword(creds: EmailPasswordCredentials): Promise; authWithOAuthPopup(provider: AuthProviders, options?: any): Promise; authWithOAuthRedirect(provider: AuthProviders, options?: any): Promise; authWithOAuthToken(credential: firebase.auth.AuthCredential): Promise; getRedirectResult(): Observable; private _enumToAuthProvider(providerId); }