import { User, OAuthCredential } from "firebase/auth"; import { FirebaseApp } from "firebase/app"; /** * Sign in w/ OAuth 2.0 token. * @param firebaseApp - the configured instance of the Firebase App in use. * @param credentials - the OAuth credential generated from token exchange. */ export declare const signInToFirebaseWithCredentials: (firebaseApp: FirebaseApp, credentials: OAuthCredential) => Promise; /** * Return the current authenticated user in the given Firebase Application. * @param firebaseApp - the configured instance of the Firebase App in use. * @returns - the object containing the data about the current authenticated user in the given Firebase application. */ export declare const getCurrentFirebaseAuthUser: (firebaseApp: FirebaseApp) => User; /** * Check if the user can claim to be a coordinator. * @param user - the user to be checked. * @returns Promise - true if the user is a coordinator, false otherwise. */ export declare const isCoordinator: (user: User) => Promise; //# sourceMappingURL=authentication.d.ts.map