UNPKG

strata-storage

Version:

Zero-dependency universal storage plugin providing a unified API for all storage operations across web, Android, and iOS platforms

26 lines 760 B
import type { Strata } from './core/Strata'; /** * Firebase sync configuration */ export interface FirebaseSyncConfig { apiKey: string; authDomain: string; projectId: string; storageBucket?: string; messagingSenderId?: string; appId: string; realtimeDatabase?: boolean; firestore?: boolean; collectionName?: string; syncInterval?: number; } /** * Enable Firebase sync for Strata Storage * This dynamically imports Firebase SDK only when needed */ export declare function enableFirebaseSync(storage: Strata, config: FirebaseSyncConfig): Promise<void>; /** * Check if Firebase is available in the environment */ export declare function isFirebaseAvailable(): Promise<boolean>; //# sourceMappingURL=firebase.d.ts.map