// third-party import firebase from 'firebase/app'; // project imports import { UserProfile } from '_mockApis/user-profile/types'; export type FirebaseContextType = { isLoggedIn: boolean; isInitialized?: boolean; user?: UserProfile | null | undefined; logout: () => Promise; login: () => void; firebaseRegister: (email: string, password: string) => Promise; firebaseEmailPasswordSignIn: (email: string, password: string) => Promise; firebaseGoogleSignIn: () => Promise; resetPassword: (email: string) => Promise; updateProfile: VoidFunction; }; export type Auth0ContextType = { isLoggedIn: boolean; isInitialized?: boolean; user?: UserProfile | null | undefined; logout: () => void; login: () => void; resetPassword: (email: string) => void; updateProfile: VoidFunction; }; export type JWTContextType = { isLoggedIn: boolean; isInitialized?: boolean; user?: UserProfile | null | undefined; logout: () => void; login: (email: string, password: string) => Promise; register: (email: string, password: string, firstName: string, lastName: string) => Promise; resetPassword: (email: string) => void; updateProfile: VoidFunction; };