import firebase from 'firebase'; import 'firebase/auth'; import { Observable } from 'rxjs'; import { SignInOptions } from './definitions'; /** * Call the sign in method on native layer and sign in on web layer with retrieved credentials. * @param providerId The provider identification. * @param data The provider additional information (optional). */ export declare const cfaSignIn: (providerId: string, data?: SignInOptions) => Observable; /** * Call the Google sign in method on native layer and sign in on web layer with retrieved credentials. */ export declare const cfaSignInGoogle: () => Observable; /** * Call the Twitter sign in method on native and sign in on web layer with retrieved credentials. */ export declare const cfaSignInTwitter: () => Observable; /** * Call the Facebook sign in method on native and sign in on web layer with retrieved credentials. */ export declare const cfaSignInFacebook: () => Observable; export declare const cfaSignInAppleProvider = "apple.com"; /** * Call the Apple sign in method on native and sign in on web layer with retrieved credentials. */ export declare const cfaSignInApple: () => Observable; /** * Call the Phone verification sign in, handling send and retrieve to code on native, but only sign in on web with retrieved credentials. * @param phone The user phone number. * @param verificationCode The verification code sent by SMS (optional). */ export declare const cfaSignInPhone: (phone: string, verificationCode?: string) => Observable; /** * Observable of one notification of On Code Sentevent from Phone Verification process. */ export declare const cfaSignInPhoneOnCodeSent: () => Observable; /** * Observable of one notification of On Code Received event from Phone Verification process. */ export declare const cfaSignInPhoneOnCodeReceived: () => Observable<{ verificationId: string; verificationCode: string; }>; /** * Call Google sign out method on native and web layers. */ export declare const cfaSignOut: () => Observable;