/** * Firebase Client — singleton initialization and auth helpers. */ import { type FirebaseApp } from 'firebase/app'; import { type Auth, type User, type UserCredential, type AuthProvider } from 'firebase/auth'; interface FirebaseConfig { apiKey?: string; authDomain?: string; projectId?: string; storageBucket?: string; messagingSenderId?: string; appId?: string; measurementId?: string; } export declare function initializeFirebase(config: FirebaseConfig): FirebaseApp; export declare function getFirebaseApp(): FirebaseApp; export declare function getFirebaseAuth(): Auth; export declare function signIn(email: string, password: string): Promise; export declare function signUp(email: string, password: string): Promise; export declare function signInAnonymously(): Promise; export declare function upgradeAnonymousAccount(email: string, password: string): Promise; export declare function upgradeAnonymousWithPopup(provider: AuthProvider): Promise; export declare function resetPassword(email: string): Promise; export declare function logout(): Promise; export declare function onAuthChange(callback: (user: User | null) => void): () => void; export declare function getCurrentUser(): Promise; export declare function getIdToken(): Promise; export type { User, UserCredential, Auth }; //# sourceMappingURL=firebase-client.d.ts.map