@bikdotai/bik-component-library 0.0.738-8 → 0.0.738-9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,589 @@
1
+ /**
2
+ * Lazy-loaded Firebase method wrappers
3
+ * These export entire modules to minimize library size while enabling tree-shaking in consuming apps
4
+ */
5
+ /**
6
+ * Lazy-load Firebase Firestore methods (full version with real-time capabilities)
7
+ * Use this when you need: onSnapshot, transactions, offline persistence
8
+ * @returns Promise resolving to all firebase/firestore exports
9
+ * @example
10
+ * const { doc, getDoc, onSnapshot } = await getFirestoreMethods();
11
+ * const db = await getFireStoreDb();
12
+ */
13
+ export declare const getFirestoreMethods: () => Promise<{
14
+ default: typeof import("firebase/firestore");
15
+ addDoc<AppModelType, DbModelType extends import("@firebase/firestore").DocumentData>(reference: import("@firebase/firestore").CollectionReference<AppModelType, DbModelType>, data: import("@firebase/firestore").WithFieldValue<AppModelType>): Promise<import("@firebase/firestore").DocumentReference<AppModelType, DbModelType>>;
16
+ aggregateFieldEqual(left: import("@firebase/firestore").AggregateField<unknown>, right: import("@firebase/firestore").AggregateField<unknown>): boolean;
17
+ aggregateQuerySnapshotEqual<AggregateSpecType extends import("@firebase/firestore").AggregateSpec, AppModelType_1, DbModelType_1 extends import("@firebase/firestore").DocumentData>(left: import("@firebase/firestore").AggregateQuerySnapshot<AggregateSpecType, AppModelType_1, DbModelType_1>, right: import("@firebase/firestore").AggregateQuerySnapshot<AggregateSpecType, AppModelType_1, DbModelType_1>): boolean;
18
+ and(...queryConstraints: import("@firebase/firestore").QueryFilterConstraint[]): import("@firebase/firestore").QueryCompositeFilterConstraint;
19
+ arrayRemove(...elements: unknown[]): import("@firebase/firestore").FieldValue;
20
+ arrayUnion(...elements: unknown[]): import("@firebase/firestore").FieldValue;
21
+ average(field: string | import("@firebase/firestore").FieldPath): import("@firebase/firestore").AggregateField<number | null>;
22
+ clearIndexedDbPersistence(firestore: import("@firebase/firestore").Firestore): Promise<void>;
23
+ collection(firestore: import("@firebase/firestore").Firestore, path: string, ...pathSegments: string[]): import("@firebase/firestore").CollectionReference<import("@firebase/firestore").DocumentData, import("@firebase/firestore").DocumentData>;
24
+ collection<AppModelType_2, DbModelType_2 extends import("@firebase/firestore").DocumentData>(reference: import("@firebase/firestore").CollectionReference<AppModelType_2, DbModelType_2>, path: string, ...pathSegments: string[]): import("@firebase/firestore").CollectionReference<import("@firebase/firestore").DocumentData, import("@firebase/firestore").DocumentData>;
25
+ collection<AppModelType_3, DbModelType_3 extends import("@firebase/firestore").DocumentData>(reference: import("@firebase/firestore").DocumentReference<AppModelType_3, DbModelType_3>, path: string, ...pathSegments: string[]): import("@firebase/firestore").CollectionReference<import("@firebase/firestore").DocumentData, import("@firebase/firestore").DocumentData>;
26
+ collectionGroup(firestore: import("@firebase/firestore").Firestore, collectionId: string): import("@firebase/firestore").Query<import("@firebase/firestore").DocumentData, import("@firebase/firestore").DocumentData>;
27
+ connectFirestoreEmulator(firestore: import("@firebase/firestore").Firestore, host: string, port: number, options?: {
28
+ mockUserToken?: string | import("firebase/firestore").EmulatorMockTokenOptions | undefined;
29
+ } | undefined): void;
30
+ count(): import("@firebase/firestore").AggregateField<number>;
31
+ deleteAllPersistentCacheIndexes(indexManager: import("@firebase/firestore").PersistentCacheIndexManager): void;
32
+ deleteDoc<AppModelType_4, DbModelType_4 extends import("@firebase/firestore").DocumentData>(reference: import("@firebase/firestore").DocumentReference<AppModelType_4, DbModelType_4>): Promise<void>;
33
+ deleteField(): import("@firebase/firestore").FieldValue;
34
+ disableNetwork(firestore: import("@firebase/firestore").Firestore): Promise<void>;
35
+ disablePersistentCacheIndexAutoCreation(indexManager: import("@firebase/firestore").PersistentCacheIndexManager): void;
36
+ doc(firestore: import("@firebase/firestore").Firestore, path: string, ...pathSegments: string[]): import("@firebase/firestore").DocumentReference<import("@firebase/firestore").DocumentData, import("@firebase/firestore").DocumentData>;
37
+ doc<AppModelType_5, DbModelType_5 extends import("@firebase/firestore").DocumentData>(reference: import("@firebase/firestore").CollectionReference<AppModelType_5, DbModelType_5>, path?: string | undefined, ...pathSegments: string[]): import("@firebase/firestore").DocumentReference<AppModelType_5, DbModelType_5>;
38
+ doc<AppModelType_6, DbModelType_6 extends import("@firebase/firestore").DocumentData>(reference: import("@firebase/firestore").DocumentReference<AppModelType_6, DbModelType_6>, path: string, ...pathSegments: string[]): import("@firebase/firestore").DocumentReference<import("@firebase/firestore").DocumentData, import("@firebase/firestore").DocumentData>;
39
+ documentId(): import("@firebase/firestore").FieldPath;
40
+ documentSnapshotFromJSON(db: import("@firebase/firestore").Firestore, json: object): import("@firebase/firestore").DocumentSnapshot<import("@firebase/firestore").DocumentData, import("@firebase/firestore").DocumentData>;
41
+ documentSnapshotFromJSON<AppModelType_7, DbModelType_7 extends import("@firebase/firestore").DocumentData = import("@firebase/firestore").DocumentData>(db: import("@firebase/firestore").Firestore, json: object, converter: import("@firebase/firestore").FirestoreDataConverter<AppModelType_7, DbModelType_7>): import("@firebase/firestore").DocumentSnapshot<AppModelType_7, DbModelType_7>;
42
+ enableIndexedDbPersistence(firestore: import("@firebase/firestore").Firestore, persistenceSettings?: import("@firebase/firestore").PersistenceSettings | undefined): Promise<void>;
43
+ enableMultiTabIndexedDbPersistence(firestore: import("@firebase/firestore").Firestore): Promise<void>;
44
+ enableNetwork(firestore: import("@firebase/firestore").Firestore): Promise<void>;
45
+ enablePersistentCacheIndexAutoCreation(indexManager: import("@firebase/firestore").PersistentCacheIndexManager): void;
46
+ endAt<AppModelType_8, DbModelType_8 extends import("@firebase/firestore").DocumentData>(snapshot: import("@firebase/firestore").DocumentSnapshot<AppModelType_8, DbModelType_8>): import("@firebase/firestore").QueryEndAtConstraint;
47
+ endAt(...fieldValues: unknown[]): import("@firebase/firestore").QueryEndAtConstraint;
48
+ endBefore<AppModelType_9, DbModelType_9 extends import("@firebase/firestore").DocumentData>(snapshot: import("@firebase/firestore").DocumentSnapshot<AppModelType_9, DbModelType_9>): import("@firebase/firestore").QueryEndAtConstraint;
49
+ endBefore(...fieldValues: unknown[]): import("@firebase/firestore").QueryEndAtConstraint;
50
+ getAggregateFromServer<AggregateSpecType_1 extends import("@firebase/firestore").AggregateSpec, AppModelType_10, DbModelType_10 extends import("@firebase/firestore").DocumentData>(query: import("@firebase/firestore").Query<AppModelType_10, DbModelType_10>, aggregateSpec: AggregateSpecType_1): Promise<import("@firebase/firestore").AggregateQuerySnapshot<AggregateSpecType_1, AppModelType_10, DbModelType_10>>;
51
+ getCountFromServer<AppModelType_11, DbModelType_11 extends import("@firebase/firestore").DocumentData>(query: import("@firebase/firestore").Query<AppModelType_11, DbModelType_11>): Promise<import("@firebase/firestore").AggregateQuerySnapshot<{
52
+ count: import("@firebase/firestore").AggregateField<number>;
53
+ }, AppModelType_11, DbModelType_11>>;
54
+ getDoc<AppModelType_12, DbModelType_12 extends import("@firebase/firestore").DocumentData>(reference: import("@firebase/firestore").DocumentReference<AppModelType_12, DbModelType_12>): Promise<import("@firebase/firestore").DocumentSnapshot<AppModelType_12, DbModelType_12>>;
55
+ getDocFromCache<AppModelType_13, DbModelType_13 extends import("@firebase/firestore").DocumentData>(reference: import("@firebase/firestore").DocumentReference<AppModelType_13, DbModelType_13>): Promise<import("@firebase/firestore").DocumentSnapshot<AppModelType_13, DbModelType_13>>;
56
+ getDocFromServer<AppModelType_14, DbModelType_14 extends import("@firebase/firestore").DocumentData>(reference: import("@firebase/firestore").DocumentReference<AppModelType_14, DbModelType_14>): Promise<import("@firebase/firestore").DocumentSnapshot<AppModelType_14, DbModelType_14>>;
57
+ getDocs<AppModelType_15, DbModelType_15 extends import("@firebase/firestore").DocumentData>(query: import("@firebase/firestore").Query<AppModelType_15, DbModelType_15>): Promise<import("@firebase/firestore").QuerySnapshot<AppModelType_15, DbModelType_15>>;
58
+ getDocsFromCache<AppModelType_16, DbModelType_16 extends import("@firebase/firestore").DocumentData>(query: import("@firebase/firestore").Query<AppModelType_16, DbModelType_16>): Promise<import("@firebase/firestore").QuerySnapshot<AppModelType_16, DbModelType_16>>;
59
+ getDocsFromServer<AppModelType_17, DbModelType_17 extends import("@firebase/firestore").DocumentData>(query: import("@firebase/firestore").Query<AppModelType_17, DbModelType_17>): Promise<import("@firebase/firestore").QuerySnapshot<AppModelType_17, DbModelType_17>>;
60
+ getFirestore(): import("@firebase/firestore").Firestore;
61
+ getFirestore(app: import("@firebase/app").FirebaseApp): import("@firebase/firestore").Firestore;
62
+ getFirestore(databaseId: string): import("@firebase/firestore").Firestore;
63
+ getFirestore(app: import("@firebase/app").FirebaseApp, databaseId: string): import("@firebase/firestore").Firestore;
64
+ getPersistentCacheIndexManager(firestore: import("@firebase/firestore").Firestore): import("@firebase/firestore").PersistentCacheIndexManager | null;
65
+ increment(n: number): import("@firebase/firestore").FieldValue;
66
+ initializeFirestore(app: import("@firebase/app").FirebaseApp, settings: import("@firebase/firestore").FirestoreSettings, databaseId?: string | undefined): import("@firebase/firestore").Firestore;
67
+ limit(limit: number): import("@firebase/firestore").QueryLimitConstraint;
68
+ limitToLast(limit: number): import("@firebase/firestore").QueryLimitConstraint;
69
+ loadBundle(firestore: import("@firebase/firestore").Firestore, bundleData: string | ReadableStream<Uint8Array> | ArrayBuffer): import("@firebase/firestore").LoadBundleTask;
70
+ memoryEagerGarbageCollector(): import("@firebase/firestore").MemoryEagerGarbageCollector;
71
+ memoryLocalCache(settings?: import("@firebase/firestore").MemoryCacheSettings | undefined): import("@firebase/firestore").MemoryLocalCache;
72
+ memoryLruGarbageCollector(settings?: {
73
+ cacheSizeBytes?: number | undefined;
74
+ } | undefined): import("@firebase/firestore").MemoryLruGarbageCollector;
75
+ namedQuery(firestore: import("@firebase/firestore").Firestore, name: string): Promise<import("@firebase/firestore").Query<import("@firebase/firestore").DocumentData, import("@firebase/firestore").DocumentData> | null>;
76
+ onSnapshot<AppModelType_18, DbModelType_18 extends import("@firebase/firestore").DocumentData>(reference: import("@firebase/firestore").DocumentReference<AppModelType_18, DbModelType_18>, observer: {
77
+ next?: ((snapshot: import("@firebase/firestore").DocumentSnapshot<AppModelType_18, DbModelType_18>) => void) | undefined;
78
+ error?: ((error: import("@firebase/firestore").FirestoreError) => void) | undefined;
79
+ complete?: (() => void) | undefined;
80
+ }): import("@firebase/firestore").Unsubscribe;
81
+ onSnapshot<AppModelType_19, DbModelType_19 extends import("@firebase/firestore").DocumentData>(reference: import("@firebase/firestore").DocumentReference<AppModelType_19, DbModelType_19>, options: import("@firebase/firestore").SnapshotListenOptions, observer: {
82
+ next?: ((snapshot: import("@firebase/firestore").DocumentSnapshot<AppModelType_19, DbModelType_19>) => void) | undefined;
83
+ error?: ((error: import("@firebase/firestore").FirestoreError) => void) | undefined;
84
+ complete?: (() => void) | undefined;
85
+ }): import("@firebase/firestore").Unsubscribe;
86
+ onSnapshot<AppModelType_20, DbModelType_20 extends import("@firebase/firestore").DocumentData>(reference: import("@firebase/firestore").DocumentReference<AppModelType_20, DbModelType_20>, onNext: (snapshot: import("@firebase/firestore").DocumentSnapshot<AppModelType_20, DbModelType_20>) => void, onError?: ((error: import("@firebase/firestore").FirestoreError) => void) | undefined, onCompletion?: (() => void) | undefined): import("@firebase/firestore").Unsubscribe;
87
+ onSnapshot<AppModelType_21, DbModelType_21 extends import("@firebase/firestore").DocumentData>(reference: import("@firebase/firestore").DocumentReference<AppModelType_21, DbModelType_21>, options: import("@firebase/firestore").SnapshotListenOptions, onNext: (snapshot: import("@firebase/firestore").DocumentSnapshot<AppModelType_21, DbModelType_21>) => void, onError?: ((error: import("@firebase/firestore").FirestoreError) => void) | undefined, onCompletion?: (() => void) | undefined): import("@firebase/firestore").Unsubscribe;
88
+ onSnapshot<AppModelType_22, DbModelType_22 extends import("@firebase/firestore").DocumentData>(query: import("@firebase/firestore").Query<AppModelType_22, DbModelType_22>, observer: {
89
+ next?: ((snapshot: import("@firebase/firestore").QuerySnapshot<AppModelType_22, DbModelType_22>) => void) | undefined;
90
+ error?: ((error: import("@firebase/firestore").FirestoreError) => void) | undefined;
91
+ complete?: (() => void) | undefined;
92
+ }): import("@firebase/firestore").Unsubscribe;
93
+ onSnapshot<AppModelType_23, DbModelType_23 extends import("@firebase/firestore").DocumentData>(query: import("@firebase/firestore").Query<AppModelType_23, DbModelType_23>, options: import("@firebase/firestore").SnapshotListenOptions, observer: {
94
+ next?: ((snapshot: import("@firebase/firestore").QuerySnapshot<AppModelType_23, DbModelType_23>) => void) | undefined;
95
+ error?: ((error: import("@firebase/firestore").FirestoreError) => void) | undefined;
96
+ complete?: (() => void) | undefined;
97
+ }): import("@firebase/firestore").Unsubscribe;
98
+ onSnapshot<AppModelType_24, DbModelType_24 extends import("@firebase/firestore").DocumentData>(query: import("@firebase/firestore").Query<AppModelType_24, DbModelType_24>, onNext: (snapshot: import("@firebase/firestore").QuerySnapshot<AppModelType_24, DbModelType_24>) => void, onError?: ((error: import("@firebase/firestore").FirestoreError) => void) | undefined, onCompletion?: (() => void) | undefined): import("@firebase/firestore").Unsubscribe;
99
+ onSnapshot<AppModelType_25, DbModelType_25 extends import("@firebase/firestore").DocumentData>(query: import("@firebase/firestore").Query<AppModelType_25, DbModelType_25>, options: import("@firebase/firestore").SnapshotListenOptions, onNext: (snapshot: import("@firebase/firestore").QuerySnapshot<AppModelType_25, DbModelType_25>) => void, onError?: ((error: import("@firebase/firestore").FirestoreError) => void) | undefined, onCompletion?: (() => void) | undefined): import("@firebase/firestore").Unsubscribe;
100
+ onSnapshotResume<AppModelType_26, DbModelType_26 extends import("@firebase/firestore").DocumentData>(firestore: import("@firebase/firestore").Firestore, snapshotJson: object, onNext: (snapshot: import("@firebase/firestore").QuerySnapshot<AppModelType_26, DbModelType_26>) => void, onError?: ((error: import("@firebase/firestore").FirestoreError) => void) | undefined, onCompletion?: (() => void) | undefined, converter?: import("@firebase/firestore").FirestoreDataConverter<DbModelType_26, import("@firebase/firestore").DocumentData> | undefined): import("@firebase/firestore").Unsubscribe;
101
+ onSnapshotResume<AppModelType_27, DbModelType_27 extends import("@firebase/firestore").DocumentData>(firestore: import("@firebase/firestore").Firestore, snapshotJson: object, onNext: (snapshot: import("@firebase/firestore").DocumentSnapshot<AppModelType_27, DbModelType_27>) => void, onError?: ((error: import("@firebase/firestore").FirestoreError) => void) | undefined, onCompletion?: (() => void) | undefined, converter?: import("@firebase/firestore").FirestoreDataConverter<DbModelType_27, import("@firebase/firestore").DocumentData> | undefined): import("@firebase/firestore").Unsubscribe;
102
+ onSnapshotResume<AppModelType_28, DbModelType_28 extends import("@firebase/firestore").DocumentData>(firestore: import("@firebase/firestore").Firestore, snapshotJson: object, options: import("@firebase/firestore").SnapshotListenOptions, onNext: (snapshot: import("@firebase/firestore").QuerySnapshot<AppModelType_28, DbModelType_28>) => void, onError?: ((error: import("@firebase/firestore").FirestoreError) => void) | undefined, onCompletion?: (() => void) | undefined, converter?: import("@firebase/firestore").FirestoreDataConverter<DbModelType_28, import("@firebase/firestore").DocumentData> | undefined): import("@firebase/firestore").Unsubscribe;
103
+ onSnapshotResume<AppModelType_29, DbModelType_29 extends import("@firebase/firestore").DocumentData>(firestore: import("@firebase/firestore").Firestore, snapshotJson: object, options: import("@firebase/firestore").SnapshotListenOptions, onNext: (snapshot: import("@firebase/firestore").DocumentSnapshot<AppModelType_29, DbModelType_29>) => void, onError?: ((error: import("@firebase/firestore").FirestoreError) => void) | undefined, onCompletion?: (() => void) | undefined, converter?: import("@firebase/firestore").FirestoreDataConverter<DbModelType_29, import("@firebase/firestore").DocumentData> | undefined): import("@firebase/firestore").Unsubscribe;
104
+ onSnapshotResume<AppModelType_30, DbModelType_30 extends import("@firebase/firestore").DocumentData>(firestore: import("@firebase/firestore").Firestore, snapshotJson: object, observer: {
105
+ next: (snapshot: import("@firebase/firestore").QuerySnapshot<AppModelType_30, DbModelType_30>) => void;
106
+ error?: ((error: import("@firebase/firestore").FirestoreError) => void) | undefined;
107
+ complete?: (() => void) | undefined;
108
+ }, converter?: import("@firebase/firestore").FirestoreDataConverter<DbModelType_30, import("@firebase/firestore").DocumentData> | undefined): import("@firebase/firestore").Unsubscribe;
109
+ onSnapshotResume<AppModelType_31, DbModelType_31 extends import("@firebase/firestore").DocumentData>(firestore: import("@firebase/firestore").Firestore, snapshotJson: object, observer: {
110
+ next: (snapshot: import("@firebase/firestore").DocumentSnapshot<AppModelType_31, DbModelType_31>) => void;
111
+ error?: ((error: import("@firebase/firestore").FirestoreError) => void) | undefined;
112
+ complete?: (() => void) | undefined;
113
+ }, converter?: import("@firebase/firestore").FirestoreDataConverter<DbModelType_31, import("@firebase/firestore").DocumentData> | undefined): import("@firebase/firestore").Unsubscribe;
114
+ onSnapshotResume<AppModelType_32, DbModelType_32 extends import("@firebase/firestore").DocumentData>(firestore: import("@firebase/firestore").Firestore, snapshotJson: object, options: import("@firebase/firestore").SnapshotListenOptions, observer: {
115
+ next: (snapshot: import("@firebase/firestore").QuerySnapshot<AppModelType_32, DbModelType_32>) => void;
116
+ error?: ((error: import("@firebase/firestore").FirestoreError) => void) | undefined;
117
+ complete?: (() => void) | undefined;
118
+ }, converter?: import("@firebase/firestore").FirestoreDataConverter<DbModelType_32, import("@firebase/firestore").DocumentData> | undefined): import("@firebase/firestore").Unsubscribe;
119
+ onSnapshotResume<AppModelType_33, DbModelType_33 extends import("@firebase/firestore").DocumentData>(firestore: import("@firebase/firestore").Firestore, snapshotJson: object, options: import("@firebase/firestore").SnapshotListenOptions, observer: {
120
+ next: (snapshot: import("@firebase/firestore").DocumentSnapshot<AppModelType_33, DbModelType_33>) => void;
121
+ error?: ((error: import("@firebase/firestore").FirestoreError) => void) | undefined;
122
+ complete?: (() => void) | undefined;
123
+ }, converter?: import("@firebase/firestore").FirestoreDataConverter<DbModelType_33, import("@firebase/firestore").DocumentData> | undefined): import("@firebase/firestore").Unsubscribe;
124
+ onSnapshotsInSync(firestore: import("@firebase/firestore").Firestore, observer: {
125
+ next?: ((value: void) => void) | undefined;
126
+ error?: ((error: import("@firebase/firestore").FirestoreError) => void) | undefined;
127
+ complete?: (() => void) | undefined;
128
+ }): import("@firebase/firestore").Unsubscribe;
129
+ onSnapshotsInSync(firestore: import("@firebase/firestore").Firestore, onSync: () => void): import("@firebase/firestore").Unsubscribe;
130
+ or(...queryConstraints: import("@firebase/firestore").QueryFilterConstraint[]): import("@firebase/firestore").QueryCompositeFilterConstraint;
131
+ orderBy(fieldPath: string | import("@firebase/firestore").FieldPath, directionStr?: import("@firebase/firestore").OrderByDirection | undefined): import("@firebase/firestore").QueryOrderByConstraint;
132
+ persistentLocalCache(settings?: import("@firebase/firestore").PersistentCacheSettings | undefined): import("@firebase/firestore").PersistentLocalCache;
133
+ persistentMultipleTabManager(): import("@firebase/firestore").PersistentMultipleTabManager;
134
+ persistentSingleTabManager(settings: import("@firebase/firestore").PersistentSingleTabManagerSettings | undefined): import("@firebase/firestore").PersistentSingleTabManager;
135
+ query<AppModelType_34, DbModelType_34 extends import("@firebase/firestore").DocumentData>(query: import("@firebase/firestore").Query<AppModelType_34, DbModelType_34>, compositeFilter: import("@firebase/firestore").QueryCompositeFilterConstraint, ...queryConstraints: import("@firebase/firestore").QueryNonFilterConstraint[]): import("@firebase/firestore").Query<AppModelType_34, DbModelType_34>;
136
+ query<AppModelType_35, DbModelType_35 extends import("@firebase/firestore").DocumentData>(query: import("@firebase/firestore").Query<AppModelType_35, DbModelType_35>, ...queryConstraints: import("@firebase/firestore").QueryConstraint[]): import("@firebase/firestore").Query<AppModelType_35, DbModelType_35>;
137
+ queryEqual<AppModelType_36, DbModelType_36 extends import("@firebase/firestore").DocumentData>(left: import("@firebase/firestore").Query<AppModelType_36, DbModelType_36>, right: import("@firebase/firestore").Query<AppModelType_36, DbModelType_36>): boolean;
138
+ querySnapshotFromJSON(db: import("@firebase/firestore").Firestore, json: object): import("@firebase/firestore").QuerySnapshot<import("@firebase/firestore").DocumentData, import("@firebase/firestore").DocumentData>;
139
+ querySnapshotFromJSON<AppModelType_37, DbModelType_37 extends import("@firebase/firestore").DocumentData = import("@firebase/firestore").DocumentData>(db: import("@firebase/firestore").Firestore, json: object, converter: import("@firebase/firestore").FirestoreDataConverter<AppModelType_37, DbModelType_37>): import("@firebase/firestore").QuerySnapshot<AppModelType_37, DbModelType_37>;
140
+ refEqual<AppModelType_38, DbModelType_38 extends import("@firebase/firestore").DocumentData>(left: import("@firebase/firestore").DocumentReference<AppModelType_38, DbModelType_38> | import("@firebase/firestore").CollectionReference<AppModelType_38, DbModelType_38>, right: import("@firebase/firestore").DocumentReference<AppModelType_38, DbModelType_38> | import("@firebase/firestore").CollectionReference<AppModelType_38, DbModelType_38>): boolean;
141
+ runTransaction<T>(firestore: import("@firebase/firestore").Firestore, updateFunction: (transaction: import("@firebase/firestore").Transaction) => Promise<T>, options?: import("@firebase/firestore").TransactionOptions | undefined): Promise<T>;
142
+ serverTimestamp(): import("@firebase/firestore").FieldValue;
143
+ setDoc<AppModelType_39, DbModelType_39 extends import("@firebase/firestore").DocumentData>(reference: import("@firebase/firestore").DocumentReference<AppModelType_39, DbModelType_39>, data: import("@firebase/firestore").WithFieldValue<AppModelType_39>): Promise<void>;
144
+ setDoc<AppModelType_40, DbModelType_40 extends import("@firebase/firestore").DocumentData>(reference: import("@firebase/firestore").DocumentReference<AppModelType_40, DbModelType_40>, data: import("@firebase/firestore").PartialWithFieldValue<AppModelType_40>, options: import("@firebase/firestore").SetOptions): Promise<void>;
145
+ setIndexConfiguration(firestore: import("@firebase/firestore").Firestore, configuration: import("@firebase/firestore").IndexConfiguration): Promise<void>;
146
+ setIndexConfiguration(firestore: import("@firebase/firestore").Firestore, json: string): Promise<void>;
147
+ setLogLevel(logLevel: import("firebase/firestore").LogLevel): void;
148
+ snapshotEqual<AppModelType_41, DbModelType_41 extends import("@firebase/firestore").DocumentData>(left: import("@firebase/firestore").DocumentSnapshot<AppModelType_41, DbModelType_41> | import("@firebase/firestore").QuerySnapshot<AppModelType_41, DbModelType_41>, right: import("@firebase/firestore").DocumentSnapshot<AppModelType_41, DbModelType_41> | import("@firebase/firestore").QuerySnapshot<AppModelType_41, DbModelType_41>): boolean;
149
+ startAfter<AppModelType_42, DbModelType_42 extends import("@firebase/firestore").DocumentData>(snapshot: import("@firebase/firestore").DocumentSnapshot<AppModelType_42, DbModelType_42>): import("@firebase/firestore").QueryStartAtConstraint;
150
+ startAfter(...fieldValues: unknown[]): import("@firebase/firestore").QueryStartAtConstraint;
151
+ startAt<AppModelType_43, DbModelType_43 extends import("@firebase/firestore").DocumentData>(snapshot: import("@firebase/firestore").DocumentSnapshot<AppModelType_43, DbModelType_43>): import("@firebase/firestore").QueryStartAtConstraint;
152
+ startAt(...fieldValues: unknown[]): import("@firebase/firestore").QueryStartAtConstraint;
153
+ sum(field: string | import("@firebase/firestore").FieldPath): import("@firebase/firestore").AggregateField<number>;
154
+ terminate(firestore: import("@firebase/firestore").Firestore): Promise<void>;
155
+ updateDoc<AppModelType_44, DbModelType_44 extends import("@firebase/firestore").DocumentData>(reference: import("@firebase/firestore").DocumentReference<AppModelType_44, DbModelType_44>, data: import("@firebase/firestore").UpdateData<DbModelType_44>): Promise<void>;
156
+ updateDoc<AppModelType_45, DbModelType_45 extends import("@firebase/firestore").DocumentData>(reference: import("@firebase/firestore").DocumentReference<AppModelType_45, DbModelType_45>, field: string | import("@firebase/firestore").FieldPath, value: unknown, ...moreFieldsAndValues: unknown[]): Promise<void>;
157
+ vector(values?: number[] | undefined): import("@firebase/firestore").VectorValue;
158
+ waitForPendingWrites(firestore: import("@firebase/firestore").Firestore): Promise<void>;
159
+ where(fieldPath: string | import("@firebase/firestore").FieldPath, opStr: import("@firebase/firestore").WhereFilterOp, value: unknown): import("@firebase/firestore").QueryFieldFilterConstraint;
160
+ writeBatch(firestore: import("@firebase/firestore").Firestore): import("@firebase/firestore").WriteBatch;
161
+ AggregateField: typeof import("@firebase/firestore").AggregateField;
162
+ AggregateQuerySnapshot: typeof import("@firebase/firestore").AggregateQuerySnapshot;
163
+ Bytes: typeof import("@firebase/firestore").Bytes;
164
+ CACHE_SIZE_UNLIMITED: -1;
165
+ CollectionReference: typeof import("@firebase/firestore").CollectionReference;
166
+ DocumentReference: typeof import("@firebase/firestore").DocumentReference;
167
+ DocumentSnapshot: typeof import("@firebase/firestore").DocumentSnapshot;
168
+ FieldPath: typeof import("@firebase/firestore").FieldPath;
169
+ FieldValue: typeof import("@firebase/firestore").FieldValue;
170
+ Firestore: typeof import("@firebase/firestore").Firestore;
171
+ FirestoreError: typeof import("@firebase/firestore").FirestoreError;
172
+ GeoPoint: typeof import("@firebase/firestore").GeoPoint;
173
+ LoadBundleTask: typeof import("@firebase/firestore").LoadBundleTask;
174
+ PersistentCacheIndexManager: typeof import("@firebase/firestore").PersistentCacheIndexManager;
175
+ Query: typeof import("@firebase/firestore").Query;
176
+ QueryCompositeFilterConstraint: typeof import("@firebase/firestore").QueryCompositeFilterConstraint;
177
+ QueryConstraint: typeof import("@firebase/firestore").QueryConstraint;
178
+ QueryDocumentSnapshot: typeof import("@firebase/firestore").QueryDocumentSnapshot;
179
+ QueryEndAtConstraint: typeof import("@firebase/firestore").QueryEndAtConstraint;
180
+ QueryFieldFilterConstraint: typeof import("@firebase/firestore").QueryFieldFilterConstraint;
181
+ QueryLimitConstraint: typeof import("@firebase/firestore").QueryLimitConstraint;
182
+ QueryOrderByConstraint: typeof import("@firebase/firestore").QueryOrderByConstraint;
183
+ QuerySnapshot: typeof import("@firebase/firestore").QuerySnapshot;
184
+ QueryStartAtConstraint: typeof import("@firebase/firestore").QueryStartAtConstraint;
185
+ SnapshotMetadata: typeof import("@firebase/firestore").SnapshotMetadata;
186
+ Timestamp: typeof import("@firebase/firestore").Timestamp;
187
+ Transaction: typeof import("@firebase/firestore").Transaction;
188
+ VectorValue: typeof import("@firebase/firestore").VectorValue;
189
+ WriteBatch: typeof import("@firebase/firestore").WriteBatch;
190
+ }>;
191
+ /**
192
+ * Lazy-load Firebase Firestore Lite methods (30% smaller bundle)
193
+ * Use this for simple CRUD operations without real-time listeners
194
+ * @returns Promise resolving to all firebase/firestore/lite exports
195
+ * @example
196
+ * const { doc, getDoc, setDoc } = await getFirestoreLiteMethods();
197
+ * const db = await getFireStoreLiteDb();
198
+ */
199
+ export declare const getFirestoreLiteMethods: () => Promise<{
200
+ default: typeof import("firebase/firestore/lite");
201
+ addDoc<AppModelType, DbModelType extends import("firebase/firestore/lite").DocumentData>(reference: import("firebase/firestore/lite").CollectionReference<AppModelType, DbModelType>, data: import("firebase/firestore/lite").WithFieldValue<AppModelType>): Promise<import("firebase/firestore/lite").DocumentReference<AppModelType, DbModelType>>;
202
+ aggregateFieldEqual(left: import("firebase/firestore/lite").AggregateField<unknown>, right: import("firebase/firestore/lite").AggregateField<unknown>): boolean;
203
+ aggregateQuerySnapshotEqual<AggregateSpecType extends import("firebase/firestore/lite").AggregateSpec, AppModelType_1, DbModelType_1 extends import("firebase/firestore/lite").DocumentData>(left: import("firebase/firestore/lite").AggregateQuerySnapshot<AggregateSpecType, AppModelType_1, DbModelType_1>, right: import("firebase/firestore/lite").AggregateQuerySnapshot<AggregateSpecType, AppModelType_1, DbModelType_1>): boolean;
204
+ and(...queryConstraints: import("firebase/firestore/lite").QueryFilterConstraint[]): import("firebase/firestore/lite").QueryCompositeFilterConstraint;
205
+ arrayRemove(...elements: unknown[]): import("firebase/firestore/lite").FieldValue;
206
+ arrayUnion(...elements: unknown[]): import("firebase/firestore/lite").FieldValue;
207
+ average(field: string | import("firebase/firestore/lite").FieldPath): import("firebase/firestore/lite").AggregateField<number | null>;
208
+ collection(firestore: import("firebase/firestore/lite").Firestore, path: string, ...pathSegments: string[]): import("firebase/firestore/lite").CollectionReference<import("firebase/firestore/lite").DocumentData, import("firebase/firestore/lite").DocumentData>;
209
+ collection<AppModelType_2, DbModelType_2 extends import("firebase/firestore/lite").DocumentData>(reference: import("firebase/firestore/lite").CollectionReference<AppModelType_2, DbModelType_2>, path: string, ...pathSegments: string[]): import("firebase/firestore/lite").CollectionReference<import("firebase/firestore/lite").DocumentData, import("firebase/firestore/lite").DocumentData>;
210
+ collection<AppModelType_3, DbModelType_3 extends import("firebase/firestore/lite").DocumentData>(reference: import("firebase/firestore/lite").DocumentReference<AppModelType_3, DbModelType_3>, path: string, ...pathSegments: string[]): import("firebase/firestore/lite").CollectionReference<import("firebase/firestore/lite").DocumentData, import("firebase/firestore/lite").DocumentData>;
211
+ collectionGroup(firestore: import("firebase/firestore/lite").Firestore, collectionId: string): import("firebase/firestore/lite").Query<import("firebase/firestore/lite").DocumentData, import("firebase/firestore/lite").DocumentData>;
212
+ connectFirestoreEmulator(firestore: import("firebase/firestore/lite").Firestore, host: string, port: number, options?: {
213
+ mockUserToken?: string | import("firebase/firestore").EmulatorMockTokenOptions | undefined;
214
+ } | undefined): void;
215
+ count(): import("firebase/firestore/lite").AggregateField<number>;
216
+ deleteDoc<AppModelType_4, DbModelType_4 extends import("firebase/firestore/lite").DocumentData>(reference: import("firebase/firestore/lite").DocumentReference<AppModelType_4, DbModelType_4>): Promise<void>;
217
+ deleteField(): import("firebase/firestore/lite").FieldValue;
218
+ doc(firestore: import("firebase/firestore/lite").Firestore, path: string, ...pathSegments: string[]): import("firebase/firestore/lite").DocumentReference<import("firebase/firestore/lite").DocumentData, import("firebase/firestore/lite").DocumentData>;
219
+ doc<AppModelType_5, DbModelType_5 extends import("firebase/firestore/lite").DocumentData>(reference: import("firebase/firestore/lite").CollectionReference<AppModelType_5, DbModelType_5>, path?: string | undefined, ...pathSegments: string[]): import("firebase/firestore/lite").DocumentReference<AppModelType_5, DbModelType_5>;
220
+ doc<AppModelType_6, DbModelType_6 extends import("firebase/firestore/lite").DocumentData>(reference: import("firebase/firestore/lite").DocumentReference<AppModelType_6, DbModelType_6>, path: string, ...pathSegments: string[]): import("firebase/firestore/lite").DocumentReference<import("firebase/firestore/lite").DocumentData, import("firebase/firestore/lite").DocumentData>;
221
+ documentId(): import("firebase/firestore/lite").FieldPath;
222
+ endAt<AppModelType_7, DbModelType_7 extends import("firebase/firestore/lite").DocumentData>(snapshot: import("firebase/firestore/lite").DocumentSnapshot<AppModelType_7, DbModelType_7>): import("firebase/firestore/lite").QueryEndAtConstraint;
223
+ endAt(...fieldValues: unknown[]): import("firebase/firestore/lite").QueryEndAtConstraint;
224
+ endBefore<AppModelType_8, DbModelType_8 extends import("firebase/firestore/lite").DocumentData>(snapshot: import("firebase/firestore/lite").DocumentSnapshot<AppModelType_8, DbModelType_8>): import("firebase/firestore/lite").QueryEndAtConstraint;
225
+ endBefore(...fieldValues: unknown[]): import("firebase/firestore/lite").QueryEndAtConstraint;
226
+ getAggregate<AggregateSpecType_1 extends import("firebase/firestore/lite").AggregateSpec, AppModelType_9, DbModelType_9 extends import("firebase/firestore/lite").DocumentData>(query: import("firebase/firestore/lite").Query<AppModelType_9, DbModelType_9>, aggregateSpec: AggregateSpecType_1): Promise<import("firebase/firestore/lite").AggregateQuerySnapshot<AggregateSpecType_1, AppModelType_9, DbModelType_9>>;
227
+ getCount<AppModelType_10, DbModelType_10 extends import("firebase/firestore/lite").DocumentData>(query: import("firebase/firestore/lite").Query<AppModelType_10, DbModelType_10>): Promise<import("firebase/firestore/lite").AggregateQuerySnapshot<{
228
+ count: import("firebase/firestore/lite").AggregateField<number>;
229
+ }, AppModelType_10, DbModelType_10>>;
230
+ getDoc<AppModelType_11, DbModelType_11 extends import("firebase/firestore/lite").DocumentData>(reference: import("firebase/firestore/lite").DocumentReference<AppModelType_11, DbModelType_11>): Promise<import("firebase/firestore/lite").DocumentSnapshot<AppModelType_11, DbModelType_11>>;
231
+ getDocs<AppModelType_12, DbModelType_12 extends import("firebase/firestore/lite").DocumentData>(query: import("firebase/firestore/lite").Query<AppModelType_12, DbModelType_12>): Promise<import("firebase/firestore/lite").QuerySnapshot<AppModelType_12, DbModelType_12>>;
232
+ getFirestore(): import("firebase/firestore/lite").Firestore;
233
+ getFirestore(app: import("@firebase/app").FirebaseApp): import("firebase/firestore/lite").Firestore;
234
+ getFirestore(databaseId: string): import("firebase/firestore/lite").Firestore;
235
+ getFirestore(app: import("@firebase/app").FirebaseApp, databaseId: string): import("firebase/firestore/lite").Firestore;
236
+ increment(n: number): import("firebase/firestore/lite").FieldValue;
237
+ initializeFirestore(app: import("@firebase/app").FirebaseApp, settings: import("firebase/firestore/lite").Settings): import("firebase/firestore/lite").Firestore;
238
+ initializeFirestore(app: import("@firebase/app").FirebaseApp, settings: import("firebase/firestore/lite").Settings, databaseId?: string | undefined): import("firebase/firestore/lite").Firestore;
239
+ limit(limit: number): import("firebase/firestore/lite").QueryLimitConstraint;
240
+ limitToLast(limit: number): import("firebase/firestore/lite").QueryLimitConstraint;
241
+ or(...queryConstraints: import("firebase/firestore/lite").QueryFilterConstraint[]): import("firebase/firestore/lite").QueryCompositeFilterConstraint;
242
+ orderBy(fieldPath: string | import("firebase/firestore/lite").FieldPath, directionStr?: import("firebase/firestore/lite").OrderByDirection | undefined): import("firebase/firestore/lite").QueryOrderByConstraint;
243
+ query<AppModelType_13, DbModelType_13 extends import("firebase/firestore/lite").DocumentData>(query: import("firebase/firestore/lite").Query<AppModelType_13, DbModelType_13>, compositeFilter: import("firebase/firestore/lite").QueryCompositeFilterConstraint, ...queryConstraints: import("firebase/firestore/lite").QueryNonFilterConstraint[]): import("firebase/firestore/lite").Query<AppModelType_13, DbModelType_13>;
244
+ query<AppModelType_14, DbModelType_14 extends import("firebase/firestore/lite").DocumentData>(query: import("firebase/firestore/lite").Query<AppModelType_14, DbModelType_14>, ...queryConstraints: import("firebase/firestore/lite").QueryConstraint[]): import("firebase/firestore/lite").Query<AppModelType_14, DbModelType_14>;
245
+ queryEqual<AppModelType_15, DbModelType_15 extends import("firebase/firestore/lite").DocumentData>(left: import("firebase/firestore/lite").Query<AppModelType_15, DbModelType_15>, right: import("firebase/firestore/lite").Query<AppModelType_15, DbModelType_15>): boolean;
246
+ refEqual<AppModelType_16, DbModelType_16 extends import("firebase/firestore/lite").DocumentData>(left: import("firebase/firestore/lite").DocumentReference<AppModelType_16, DbModelType_16> | import("firebase/firestore/lite").CollectionReference<AppModelType_16, DbModelType_16>, right: import("firebase/firestore/lite").DocumentReference<AppModelType_16, DbModelType_16> | import("firebase/firestore/lite").CollectionReference<AppModelType_16, DbModelType_16>): boolean;
247
+ runTransaction<T>(firestore: import("firebase/firestore/lite").Firestore, updateFunction: (transaction: import("firebase/firestore/lite").Transaction) => Promise<T>, options?: import("firebase/firestore/lite").TransactionOptions | undefined): Promise<T>;
248
+ serverTimestamp(): import("firebase/firestore/lite").FieldValue;
249
+ setDoc<AppModelType_17, DbModelType_17 extends import("firebase/firestore/lite").DocumentData>(reference: import("firebase/firestore/lite").DocumentReference<AppModelType_17, DbModelType_17>, data: import("firebase/firestore/lite").WithFieldValue<AppModelType_17>): Promise<void>;
250
+ setDoc<AppModelType_18, DbModelType_18 extends import("firebase/firestore/lite").DocumentData>(reference: import("firebase/firestore/lite").DocumentReference<AppModelType_18, DbModelType_18>, data: import("firebase/firestore/lite").PartialWithFieldValue<AppModelType_18>, options: import("firebase/firestore/lite").SetOptions): Promise<void>;
251
+ setLogLevel(logLevel: import("firebase/firestore").LogLevel): void;
252
+ snapshotEqual<AppModelType_19, DbModelType_19 extends import("firebase/firestore/lite").DocumentData>(left: import("firebase/firestore/lite").DocumentSnapshot<AppModelType_19, DbModelType_19> | import("firebase/firestore/lite").QuerySnapshot<AppModelType_19, DbModelType_19>, right: import("firebase/firestore/lite").DocumentSnapshot<AppModelType_19, DbModelType_19> | import("firebase/firestore/lite").QuerySnapshot<AppModelType_19, DbModelType_19>): boolean;
253
+ startAfter<AppModelType_20, DbModelType_20 extends import("firebase/firestore/lite").DocumentData>(snapshot: import("firebase/firestore/lite").DocumentSnapshot<AppModelType_20, DbModelType_20>): import("firebase/firestore/lite").QueryStartAtConstraint;
254
+ startAfter(...fieldValues: unknown[]): import("firebase/firestore/lite").QueryStartAtConstraint;
255
+ startAt<AppModelType_21, DbModelType_21 extends import("firebase/firestore/lite").DocumentData>(snapshot: import("firebase/firestore/lite").DocumentSnapshot<AppModelType_21, DbModelType_21>): import("firebase/firestore/lite").QueryStartAtConstraint;
256
+ startAt(...fieldValues: unknown[]): import("firebase/firestore/lite").QueryStartAtConstraint;
257
+ sum(field: string | import("firebase/firestore/lite").FieldPath): import("firebase/firestore/lite").AggregateField<number>;
258
+ terminate(firestore: import("firebase/firestore/lite").Firestore): Promise<void>;
259
+ updateDoc<AppModelType_22, DbModelType_22 extends import("firebase/firestore/lite").DocumentData>(reference: import("firebase/firestore/lite").DocumentReference<AppModelType_22, DbModelType_22>, data: import("firebase/firestore/lite").UpdateData<DbModelType_22>): Promise<void>;
260
+ updateDoc<AppModelType_23, DbModelType_23 extends import("firebase/firestore/lite").DocumentData>(reference: import("firebase/firestore/lite").DocumentReference<AppModelType_23, DbModelType_23>, field: string | import("firebase/firestore/lite").FieldPath, value: unknown, ...moreFieldsAndValues: unknown[]): Promise<void>;
261
+ vector(values?: number[] | undefined): import("firebase/firestore/lite").VectorValue;
262
+ where(fieldPath: string | import("firebase/firestore/lite").FieldPath, opStr: import("firebase/firestore/lite").WhereFilterOp, value: unknown): import("firebase/firestore/lite").QueryFieldFilterConstraint;
263
+ writeBatch(firestore: import("firebase/firestore/lite").Firestore): import("firebase/firestore/lite").WriteBatch;
264
+ AggregateField: typeof import("firebase/firestore/lite").AggregateField;
265
+ AggregateQuerySnapshot: typeof import("firebase/firestore/lite").AggregateQuerySnapshot;
266
+ Bytes: typeof import("firebase/firestore/lite").Bytes;
267
+ CollectionReference: typeof import("firebase/firestore/lite").CollectionReference;
268
+ DocumentReference: typeof import("firebase/firestore/lite").DocumentReference;
269
+ DocumentSnapshot: typeof import("firebase/firestore/lite").DocumentSnapshot;
270
+ FieldPath: typeof import("firebase/firestore/lite").FieldPath;
271
+ FieldValue: typeof import("firebase/firestore/lite").FieldValue;
272
+ Firestore: typeof import("firebase/firestore/lite").Firestore;
273
+ FirestoreError: typeof import("firebase/firestore/lite").FirestoreError;
274
+ GeoPoint: typeof import("firebase/firestore/lite").GeoPoint;
275
+ Query: typeof import("firebase/firestore/lite").Query;
276
+ QueryCompositeFilterConstraint: typeof import("firebase/firestore/lite").QueryCompositeFilterConstraint;
277
+ QueryConstraint: typeof import("firebase/firestore/lite").QueryConstraint;
278
+ QueryDocumentSnapshot: typeof import("firebase/firestore/lite").QueryDocumentSnapshot;
279
+ QueryEndAtConstraint: typeof import("firebase/firestore/lite").QueryEndAtConstraint;
280
+ QueryFieldFilterConstraint: typeof import("firebase/firestore/lite").QueryFieldFilterConstraint;
281
+ QueryLimitConstraint: typeof import("firebase/firestore/lite").QueryLimitConstraint;
282
+ QueryOrderByConstraint: typeof import("firebase/firestore/lite").QueryOrderByConstraint;
283
+ QuerySnapshot: typeof import("firebase/firestore/lite").QuerySnapshot;
284
+ QueryStartAtConstraint: typeof import("firebase/firestore/lite").QueryStartAtConstraint;
285
+ Timestamp: typeof import("firebase/firestore/lite").Timestamp;
286
+ Transaction: typeof import("firebase/firestore/lite").Transaction;
287
+ VectorValue: typeof import("firebase/firestore/lite").VectorValue;
288
+ WriteBatch: typeof import("firebase/firestore/lite").WriteBatch;
289
+ }>;
290
+ /**
291
+ * Lazy-load Firebase Storage methods
292
+ * @returns Promise resolving to all firebase/storage exports
293
+ * @example
294
+ * const { ref, uploadBytes, getDownloadURL } = await getStorageMethods();
295
+ * const storage = await getFirebaseChatStorage();
296
+ */
297
+ export declare const getStorageMethods: () => Promise<{
298
+ default: typeof import("firebase/storage");
299
+ connectStorageEmulator(storage: import("@firebase/storage").FirebaseStorage, host: string, port: number, options?: {
300
+ mockUserToken?: string | import("firebase/firestore").EmulatorMockTokenOptions | undefined;
301
+ } | undefined): void;
302
+ deleteObject(ref: import("@firebase/storage").StorageReference): Promise<void>;
303
+ getBlob(ref: import("@firebase/storage").StorageReference, maxDownloadSizeBytes?: number | undefined): Promise<Blob>;
304
+ getBytes(ref: import("@firebase/storage").StorageReference, maxDownloadSizeBytes?: number | undefined): Promise<ArrayBuffer>;
305
+ getDownloadURL(ref: import("@firebase/storage").StorageReference): Promise<string>;
306
+ getMetadata(ref: import("@firebase/storage").StorageReference): Promise<import("@firebase/storage").FullMetadata>;
307
+ getStorage(app?: import("@firebase/app").FirebaseApp | undefined, bucketUrl?: string | undefined): import("@firebase/storage").FirebaseStorage;
308
+ getStream(ref: import("@firebase/storage").StorageReference, maxDownloadSizeBytes?: number | undefined): ReadableStream<any>;
309
+ list(ref: import("@firebase/storage").StorageReference, options?: import("@firebase/storage").ListOptions | undefined): Promise<import("@firebase/storage").ListResult>;
310
+ listAll(ref: import("@firebase/storage").StorageReference): Promise<import("@firebase/storage").ListResult>;
311
+ ref(storage: import("@firebase/storage").FirebaseStorage, url?: string | undefined): import("@firebase/storage").StorageReference;
312
+ ref(storageOrRef: import("@firebase/storage").FirebaseStorage | import("@firebase/storage").StorageReference, path?: string | undefined): import("@firebase/storage").StorageReference;
313
+ updateMetadata(ref: import("@firebase/storage").StorageReference, metadata: import("@firebase/storage").SettableMetadata): Promise<import("@firebase/storage").FullMetadata>;
314
+ uploadBytes(ref: import("@firebase/storage").StorageReference, data: Uint8Array | ArrayBuffer | Blob, metadata?: import("@firebase/storage").UploadMetadata | undefined): Promise<import("@firebase/storage").UploadResult>;
315
+ uploadBytesResumable(ref: import("@firebase/storage").StorageReference, data: Uint8Array | ArrayBuffer | Blob, metadata?: import("@firebase/storage").UploadMetadata | undefined): import("@firebase/storage").UploadTask;
316
+ uploadString(ref: import("@firebase/storage").StorageReference, value: string, format?: import("@firebase/storage").StringFormat | undefined, metadata?: import("@firebase/storage").UploadMetadata | undefined): Promise<import("@firebase/storage").UploadResult>;
317
+ StorageError: typeof import("@firebase/storage").StorageError;
318
+ StorageErrorCode: typeof import("@firebase/storage").StorageErrorCode;
319
+ StringFormat: {
320
+ readonly RAW: "raw";
321
+ readonly BASE64: "base64";
322
+ readonly BASE64URL: "base64url";
323
+ readonly DATA_URL: "data_url";
324
+ };
325
+ }>;
326
+ /**
327
+ * Lazy-load Firebase Auth methods
328
+ * @returns Promise resolving to all firebase/auth exports
329
+ * @example
330
+ * const { getAuth, signInWithCustomToken } = await getAuthMethods();
331
+ * const auth = await rnSecondaryAuth();
332
+ */
333
+ export declare const getAuthMethods: () => Promise<{
334
+ default: typeof import("firebase/auth");
335
+ applyActionCode(auth: import("@firebase/auth").Auth, oobCode: string): Promise<void>;
336
+ beforeAuthStateChanged(auth: import("@firebase/auth").Auth, callback: (user: import("@firebase/auth").User | null) => void | Promise<void>, onAbort?: (() => void) | undefined): import("firebase/auth").Unsubscribe;
337
+ checkActionCode(auth: import("@firebase/auth").Auth, oobCode: string): Promise<import("@firebase/auth").ActionCodeInfo>;
338
+ confirmPasswordReset(auth: import("@firebase/auth").Auth, oobCode: string, newPassword: string): Promise<void>;
339
+ connectAuthEmulator(auth: import("@firebase/auth").Auth, url: string, options?: {
340
+ disableWarnings: boolean;
341
+ } | undefined): void;
342
+ createUserWithEmailAndPassword(auth: import("@firebase/auth").Auth, email: string, password: string): Promise<import("@firebase/auth").UserCredential>;
343
+ deleteUser(user: import("@firebase/auth").User): Promise<void>;
344
+ fetchSignInMethodsForEmail(auth: import("@firebase/auth").Auth, email: string): Promise<string[]>;
345
+ getAdditionalUserInfo(userCredential: import("@firebase/auth").UserCredential): import("@firebase/auth").AdditionalUserInfo | null;
346
+ getAuth(app?: import("@firebase/app").FirebaseApp | undefined): import("@firebase/auth").Auth;
347
+ getIdToken(user: import("@firebase/auth").User, forceRefresh?: boolean | undefined): Promise<string>;
348
+ getIdTokenResult(user: import("@firebase/auth").User, forceRefresh?: boolean | undefined): Promise<import("@firebase/auth").IdTokenResult>;
349
+ getMultiFactorResolver(auth: import("@firebase/auth").Auth, error: import("@firebase/auth").MultiFactorError): import("@firebase/auth").MultiFactorResolver;
350
+ getRedirectResult(auth: import("@firebase/auth").Auth, resolver?: import("@firebase/auth").PopupRedirectResolver | undefined): Promise<import("@firebase/auth").UserCredential | null>;
351
+ initializeAuth(app: import("@firebase/app").FirebaseApp, deps?: import("@firebase/auth").Dependencies | undefined): import("@firebase/auth").Auth;
352
+ initializeRecaptchaConfig(auth: import("@firebase/auth").Auth): Promise<void>;
353
+ isSignInWithEmailLink(auth: import("@firebase/auth").Auth, emailLink: string): boolean;
354
+ linkWithCredential(user: import("@firebase/auth").User, credential: import("@firebase/auth").AuthCredential): Promise<import("@firebase/auth").UserCredential>;
355
+ linkWithPhoneNumber(user: import("@firebase/auth").User, phoneNumber: string, appVerifier?: import("@firebase/auth").ApplicationVerifier | undefined): Promise<import("@firebase/auth").ConfirmationResult>;
356
+ linkWithPopup(user: import("@firebase/auth").User, provider: import("@firebase/auth").AuthProvider, resolver?: import("@firebase/auth").PopupRedirectResolver | undefined): Promise<import("@firebase/auth").UserCredential>;
357
+ linkWithRedirect(user: import("@firebase/auth").User, provider: import("@firebase/auth").AuthProvider, resolver?: import("@firebase/auth").PopupRedirectResolver | undefined): Promise<never>;
358
+ multiFactor(user: import("@firebase/auth").User): import("@firebase/auth").MultiFactorUser;
359
+ onAuthStateChanged(auth: import("@firebase/auth").Auth, nextOrObserver: import("@firebase/auth").NextOrObserver<import("@firebase/auth").User>, error?: import("firebase/auth").ErrorFn | undefined, completed?: import("firebase/auth").CompleteFn | undefined): import("firebase/auth").Unsubscribe;
360
+ onIdTokenChanged(auth: import("@firebase/auth").Auth, nextOrObserver: import("@firebase/auth").NextOrObserver<import("@firebase/auth").User>, error?: import("firebase/auth").ErrorFn | undefined, completed?: import("firebase/auth").CompleteFn | undefined): import("firebase/auth").Unsubscribe;
361
+ parseActionCodeURL(link: string): import("@firebase/auth").ActionCodeURL | null;
362
+ reauthenticateWithCredential(user: import("@firebase/auth").User, credential: import("@firebase/auth").AuthCredential): Promise<import("@firebase/auth").UserCredential>;
363
+ reauthenticateWithPhoneNumber(user: import("@firebase/auth").User, phoneNumber: string, appVerifier?: import("@firebase/auth").ApplicationVerifier | undefined): Promise<import("@firebase/auth").ConfirmationResult>;
364
+ reauthenticateWithPopup(user: import("@firebase/auth").User, provider: import("@firebase/auth").AuthProvider, resolver?: import("@firebase/auth").PopupRedirectResolver | undefined): Promise<import("@firebase/auth").UserCredential>;
365
+ reauthenticateWithRedirect(user: import("@firebase/auth").User, provider: import("@firebase/auth").AuthProvider, resolver?: import("@firebase/auth").PopupRedirectResolver | undefined): Promise<never>;
366
+ reload(user: import("@firebase/auth").User): Promise<void>;
367
+ revokeAccessToken(auth: import("@firebase/auth").Auth, token: string): Promise<void>;
368
+ sendEmailVerification(user: import("@firebase/auth").User, actionCodeSettings?: import("@firebase/auth").ActionCodeSettings | null | undefined): Promise<void>;
369
+ sendPasswordResetEmail(auth: import("@firebase/auth").Auth, email: string, actionCodeSettings?: import("@firebase/auth").ActionCodeSettings | undefined): Promise<void>;
370
+ sendSignInLinkToEmail(auth: import("@firebase/auth").Auth, email: string, actionCodeSettings: import("@firebase/auth").ActionCodeSettings): Promise<void>;
371
+ setPersistence(auth: import("@firebase/auth").Auth, persistence: import("@firebase/auth").Persistence): Promise<void>;
372
+ signInAnonymously(auth: import("@firebase/auth").Auth): Promise<import("@firebase/auth").UserCredential>;
373
+ signInWithCredential(auth: import("@firebase/auth").Auth, credential: import("@firebase/auth").AuthCredential): Promise<import("@firebase/auth").UserCredential>;
374
+ signInWithCustomToken(auth: import("@firebase/auth").Auth, customToken: string): Promise<import("@firebase/auth").UserCredential>;
375
+ signInWithEmailAndPassword(auth: import("@firebase/auth").Auth, email: string, password: string): Promise<import("@firebase/auth").UserCredential>;
376
+ signInWithEmailLink(auth: import("@firebase/auth").Auth, email: string, emailLink?: string | undefined): Promise<import("@firebase/auth").UserCredential>;
377
+ signInWithPhoneNumber(auth: import("@firebase/auth").Auth, phoneNumber: string, appVerifier?: import("@firebase/auth").ApplicationVerifier | undefined): Promise<import("@firebase/auth").ConfirmationResult>;
378
+ signInWithPopup(auth: import("@firebase/auth").Auth, provider: import("@firebase/auth").AuthProvider, resolver?: import("@firebase/auth").PopupRedirectResolver | undefined): Promise<import("@firebase/auth").UserCredential>;
379
+ signInWithRedirect(auth: import("@firebase/auth").Auth, provider: import("@firebase/auth").AuthProvider, resolver?: import("@firebase/auth").PopupRedirectResolver | undefined): Promise<never>;
380
+ signOut(auth: import("@firebase/auth").Auth): Promise<void>;
381
+ unlink(user: import("@firebase/auth").User, providerId: string): Promise<import("@firebase/auth").User>;
382
+ updateCurrentUser(auth: import("@firebase/auth").Auth, user: import("@firebase/auth").User | null): Promise<void>;
383
+ updateEmail(user: import("@firebase/auth").User, newEmail: string): Promise<void>;
384
+ updatePassword(user: import("@firebase/auth").User, newPassword: string): Promise<void>;
385
+ updatePhoneNumber(user: import("@firebase/auth").User, credential: import("@firebase/auth").PhoneAuthCredential): Promise<void>;
386
+ updateProfile(user: import("@firebase/auth").User, { displayName, photoURL: photoUrl }: {
387
+ displayName?: string | null | undefined;
388
+ photoURL?: string | null | undefined;
389
+ }): Promise<void>;
390
+ useDeviceLanguage(auth: import("@firebase/auth").Auth): void;
391
+ validatePassword(auth: import("@firebase/auth").Auth, password: string): Promise<import("@firebase/auth").PasswordValidationStatus>;
392
+ verifyBeforeUpdateEmail(user: import("@firebase/auth").User, newEmail: string, actionCodeSettings?: import("@firebase/auth").ActionCodeSettings | null | undefined): Promise<void>;
393
+ verifyPasswordResetCode(auth: import("@firebase/auth").Auth, code: string): Promise<string>;
394
+ ActionCodeOperation: {
395
+ readonly EMAIL_SIGNIN: "EMAIL_SIGNIN";
396
+ readonly PASSWORD_RESET: "PASSWORD_RESET";
397
+ readonly RECOVER_EMAIL: "RECOVER_EMAIL";
398
+ readonly REVERT_SECOND_FACTOR_ADDITION: "REVERT_SECOND_FACTOR_ADDITION";
399
+ readonly VERIFY_AND_CHANGE_EMAIL: "VERIFY_AND_CHANGE_EMAIL";
400
+ readonly VERIFY_EMAIL: "VERIFY_EMAIL";
401
+ };
402
+ ActionCodeURL: typeof import("@firebase/auth").ActionCodeURL;
403
+ AuthCredential: typeof import("@firebase/auth").AuthCredential;
404
+ AuthErrorCodes: {
405
+ readonly ADMIN_ONLY_OPERATION: "auth/admin-restricted-operation";
406
+ readonly ARGUMENT_ERROR: "auth/argument-error";
407
+ readonly APP_NOT_AUTHORIZED: "auth/app-not-authorized";
408
+ readonly APP_NOT_INSTALLED: "auth/app-not-installed";
409
+ readonly CAPTCHA_CHECK_FAILED: "auth/captcha-check-failed";
410
+ readonly CODE_EXPIRED: "auth/code-expired";
411
+ readonly CORDOVA_NOT_READY: "auth/cordova-not-ready";
412
+ readonly CORS_UNSUPPORTED: "auth/cors-unsupported";
413
+ readonly CREDENTIAL_ALREADY_IN_USE: "auth/credential-already-in-use";
414
+ readonly CREDENTIAL_MISMATCH: "auth/custom-token-mismatch";
415
+ readonly CREDENTIAL_TOO_OLD_LOGIN_AGAIN: "auth/requires-recent-login";
416
+ readonly DEPENDENT_SDK_INIT_BEFORE_AUTH: "auth/dependent-sdk-initialized-before-auth";
417
+ readonly DYNAMIC_LINK_NOT_ACTIVATED: "auth/dynamic-link-not-activated";
418
+ readonly EMAIL_CHANGE_NEEDS_VERIFICATION: "auth/email-change-needs-verification";
419
+ readonly EMAIL_EXISTS: "auth/email-already-in-use";
420
+ readonly EMULATOR_CONFIG_FAILED: "auth/emulator-config-failed";
421
+ readonly EXPIRED_OOB_CODE: "auth/expired-action-code";
422
+ readonly EXPIRED_POPUP_REQUEST: "auth/cancelled-popup-request";
423
+ readonly INTERNAL_ERROR: "auth/internal-error";
424
+ readonly INVALID_API_KEY: "auth/invalid-api-key";
425
+ readonly INVALID_APP_CREDENTIAL: "auth/invalid-app-credential";
426
+ readonly INVALID_APP_ID: "auth/invalid-app-id";
427
+ readonly INVALID_AUTH: "auth/invalid-user-token";
428
+ readonly INVALID_AUTH_EVENT: "auth/invalid-auth-event";
429
+ readonly INVALID_CERT_HASH: "auth/invalid-cert-hash";
430
+ readonly INVALID_CODE: "auth/invalid-verification-code";
431
+ readonly INVALID_CONTINUE_URI: "auth/invalid-continue-uri";
432
+ readonly INVALID_CORDOVA_CONFIGURATION: "auth/invalid-cordova-configuration";
433
+ readonly INVALID_CUSTOM_TOKEN: "auth/invalid-custom-token";
434
+ readonly INVALID_DYNAMIC_LINK_DOMAIN: "auth/invalid-dynamic-link-domain";
435
+ readonly INVALID_EMAIL: "auth/invalid-email";
436
+ readonly INVALID_EMULATOR_SCHEME: "auth/invalid-emulator-scheme";
437
+ readonly INVALID_IDP_RESPONSE: "auth/invalid-credential";
438
+ readonly INVALID_LOGIN_CREDENTIALS: "auth/invalid-credential";
439
+ readonly INVALID_MESSAGE_PAYLOAD: "auth/invalid-message-payload";
440
+ readonly INVALID_MFA_SESSION: "auth/invalid-multi-factor-session";
441
+ readonly INVALID_OAUTH_CLIENT_ID: "auth/invalid-oauth-client-id";
442
+ readonly INVALID_OAUTH_PROVIDER: "auth/invalid-oauth-provider";
443
+ readonly INVALID_OOB_CODE: "auth/invalid-action-code";
444
+ readonly INVALID_ORIGIN: "auth/unauthorized-domain";
445
+ readonly INVALID_PASSWORD: "auth/wrong-password";
446
+ readonly INVALID_PERSISTENCE: "auth/invalid-persistence-type";
447
+ readonly INVALID_PHONE_NUMBER: "auth/invalid-phone-number";
448
+ readonly INVALID_PROVIDER_ID: "auth/invalid-provider-id";
449
+ readonly INVALID_RECIPIENT_EMAIL: "auth/invalid-recipient-email";
450
+ readonly INVALID_SENDER: "auth/invalid-sender";
451
+ readonly INVALID_SESSION_INFO: "auth/invalid-verification-id";
452
+ readonly INVALID_TENANT_ID: "auth/invalid-tenant-id";
453
+ readonly MFA_INFO_NOT_FOUND: "auth/multi-factor-info-not-found";
454
+ readonly MFA_REQUIRED: "auth/multi-factor-auth-required";
455
+ readonly MISSING_ANDROID_PACKAGE_NAME: "auth/missing-android-pkg-name";
456
+ readonly MISSING_APP_CREDENTIAL: "auth/missing-app-credential";
457
+ readonly MISSING_AUTH_DOMAIN: "auth/auth-domain-config-required";
458
+ readonly MISSING_CODE: "auth/missing-verification-code";
459
+ readonly MISSING_CONTINUE_URI: "auth/missing-continue-uri";
460
+ readonly MISSING_IFRAME_START: "auth/missing-iframe-start";
461
+ readonly MISSING_IOS_BUNDLE_ID: "auth/missing-ios-bundle-id";
462
+ readonly MISSING_OR_INVALID_NONCE: "auth/missing-or-invalid-nonce";
463
+ readonly MISSING_MFA_INFO: "auth/missing-multi-factor-info";
464
+ readonly MISSING_MFA_SESSION: "auth/missing-multi-factor-session";
465
+ readonly MISSING_PHONE_NUMBER: "auth/missing-phone-number";
466
+ readonly MISSING_PASSWORD: "auth/missing-password";
467
+ readonly MISSING_SESSION_INFO: "auth/missing-verification-id";
468
+ readonly MODULE_DESTROYED: "auth/app-deleted";
469
+ readonly NEED_CONFIRMATION: "auth/account-exists-with-different-credential";
470
+ readonly NETWORK_REQUEST_FAILED: "auth/network-request-failed";
471
+ readonly NULL_USER: "auth/null-user";
472
+ readonly NO_AUTH_EVENT: "auth/no-auth-event";
473
+ readonly NO_SUCH_PROVIDER: "auth/no-such-provider";
474
+ readonly OPERATION_NOT_ALLOWED: "auth/operation-not-allowed";
475
+ readonly OPERATION_NOT_SUPPORTED: "auth/operation-not-supported-in-this-environment";
476
+ readonly POPUP_BLOCKED: "auth/popup-blocked";
477
+ readonly POPUP_CLOSED_BY_USER: "auth/popup-closed-by-user";
478
+ readonly PROVIDER_ALREADY_LINKED: "auth/provider-already-linked";
479
+ readonly QUOTA_EXCEEDED: "auth/quota-exceeded";
480
+ readonly REDIRECT_CANCELLED_BY_USER: "auth/redirect-cancelled-by-user";
481
+ readonly REDIRECT_OPERATION_PENDING: "auth/redirect-operation-pending";
482
+ readonly REJECTED_CREDENTIAL: "auth/rejected-credential";
483
+ readonly SECOND_FACTOR_ALREADY_ENROLLED: "auth/second-factor-already-in-use";
484
+ readonly SECOND_FACTOR_LIMIT_EXCEEDED: "auth/maximum-second-factor-count-exceeded";
485
+ readonly TENANT_ID_MISMATCH: "auth/tenant-id-mismatch";
486
+ readonly TIMEOUT: "auth/timeout";
487
+ readonly TOKEN_EXPIRED: "auth/user-token-expired";
488
+ readonly TOO_MANY_ATTEMPTS_TRY_LATER: "auth/too-many-requests";
489
+ readonly UNAUTHORIZED_DOMAIN: "auth/unauthorized-continue-uri";
490
+ readonly UNSUPPORTED_FIRST_FACTOR: "auth/unsupported-first-factor";
491
+ readonly UNSUPPORTED_PERSISTENCE: "auth/unsupported-persistence-type";
492
+ readonly UNSUPPORTED_TENANT_OPERATION: "auth/unsupported-tenant-operation";
493
+ readonly UNVERIFIED_EMAIL: "auth/unverified-email";
494
+ readonly USER_CANCELLED: "auth/user-cancelled";
495
+ readonly USER_DELETED: "auth/user-not-found";
496
+ readonly USER_DISABLED: "auth/user-disabled";
497
+ readonly USER_MISMATCH: "auth/user-mismatch";
498
+ readonly USER_SIGNED_OUT: "auth/user-signed-out";
499
+ readonly WEAK_PASSWORD: "auth/weak-password";
500
+ readonly WEB_STORAGE_UNSUPPORTED: "auth/web-storage-unsupported";
501
+ readonly ALREADY_INITIALIZED: "auth/already-initialized";
502
+ readonly RECAPTCHA_NOT_ENABLED: "auth/recaptcha-not-enabled";
503
+ readonly MISSING_RECAPTCHA_TOKEN: "auth/missing-recaptcha-token";
504
+ readonly INVALID_RECAPTCHA_TOKEN: "auth/invalid-recaptcha-token";
505
+ readonly INVALID_RECAPTCHA_ACTION: "auth/invalid-recaptcha-action";
506
+ readonly MISSING_CLIENT_TYPE: "auth/missing-client-type";
507
+ readonly MISSING_RECAPTCHA_VERSION: "auth/missing-recaptcha-version";
508
+ readonly INVALID_RECAPTCHA_VERSION: "auth/invalid-recaptcha-version";
509
+ readonly INVALID_REQ_TYPE: "auth/invalid-req-type";
510
+ readonly INVALID_HOSTING_LINK_DOMAIN: "auth/invalid-hosting-link-domain";
511
+ };
512
+ browserCookiePersistence: import("@firebase/auth").Persistence;
513
+ browserLocalPersistence: import("@firebase/auth").Persistence;
514
+ browserPopupRedirectResolver: import("@firebase/auth").PopupRedirectResolver;
515
+ browserSessionPersistence: import("@firebase/auth").Persistence;
516
+ debugErrorMap: import("@firebase/auth").AuthErrorMap;
517
+ EmailAuthCredential: typeof import("@firebase/auth").EmailAuthCredential;
518
+ EmailAuthProvider: typeof import("@firebase/auth").EmailAuthProvider;
519
+ FacebookAuthProvider: typeof import("@firebase/auth").FacebookAuthProvider;
520
+ FactorId: {
521
+ readonly PHONE: "phone";
522
+ readonly TOTP: "totp";
523
+ };
524
+ GithubAuthProvider: typeof import("@firebase/auth").GithubAuthProvider;
525
+ GoogleAuthProvider: typeof import("@firebase/auth").GoogleAuthProvider;
526
+ indexedDBLocalPersistence: import("@firebase/auth").Persistence;
527
+ inMemoryPersistence: import("@firebase/auth").Persistence;
528
+ OAuthCredential: typeof import("@firebase/auth").OAuthCredential;
529
+ OAuthProvider: typeof import("@firebase/auth").OAuthProvider;
530
+ OperationType: {
531
+ readonly LINK: "link";
532
+ readonly REAUTHENTICATE: "reauthenticate";
533
+ readonly SIGN_IN: "signIn";
534
+ };
535
+ PhoneAuthCredential: typeof import("@firebase/auth").PhoneAuthCredential;
536
+ PhoneAuthProvider: typeof import("@firebase/auth").PhoneAuthProvider;
537
+ PhoneMultiFactorGenerator: typeof import("@firebase/auth").PhoneMultiFactorGenerator;
538
+ prodErrorMap: import("@firebase/auth").AuthErrorMap;
539
+ ProviderId: {
540
+ readonly FACEBOOK: "facebook.com";
541
+ readonly GITHUB: "github.com";
542
+ readonly GOOGLE: "google.com";
543
+ readonly PASSWORD: "password";
544
+ readonly PHONE: "phone";
545
+ readonly TWITTER: "twitter.com";
546
+ };
547
+ RecaptchaVerifier: typeof import("@firebase/auth").RecaptchaVerifier;
548
+ SAMLAuthProvider: typeof import("@firebase/auth").SAMLAuthProvider;
549
+ SignInMethod: {
550
+ readonly EMAIL_LINK: "emailLink";
551
+ readonly EMAIL_PASSWORD: "password";
552
+ readonly FACEBOOK: "facebook.com";
553
+ readonly GITHUB: "github.com";
554
+ readonly GOOGLE: "google.com";
555
+ readonly PHONE: "phone";
556
+ readonly TWITTER: "twitter.com";
557
+ };
558
+ TotpMultiFactorGenerator: typeof import("@firebase/auth").TotpMultiFactorGenerator;
559
+ TotpSecret: typeof import("@firebase/auth").TotpSecret;
560
+ TwitterAuthProvider: typeof import("@firebase/auth").TwitterAuthProvider;
561
+ }>;
562
+ /**
563
+ * Lazy-load Firebase Messaging methods
564
+ * @returns Promise resolving to all firebase/messaging exports
565
+ * @example
566
+ * const { getMessaging, onMessage } = await getMessagingMethods();
567
+ */
568
+ export declare const getMessagingMethods: () => Promise<{
569
+ default: typeof import("firebase/messaging");
570
+ deleteToken(messaging: import("@firebase/messaging").Messaging): Promise<boolean>;
571
+ getMessaging(app?: import("@firebase/app").FirebaseApp | undefined): import("@firebase/messaging").Messaging;
572
+ getToken(messaging: import("@firebase/messaging").Messaging, options?: import("@firebase/messaging").GetTokenOptions | undefined): Promise<string>;
573
+ isSupported(): Promise<boolean>;
574
+ onMessage(messaging: import("@firebase/messaging").Messaging, nextOrObserver: import("firebase/auth").NextFn<import("@firebase/messaging").MessagePayload> | import("firebase/messaging").Observer<import("@firebase/messaging").MessagePayload>): import("firebase/auth").Unsubscribe;
575
+ }>;
576
+ /**
577
+ * Lazy-load Firebase Functions methods
578
+ * @returns Promise resolving to all firebase/functions exports
579
+ * @example
580
+ * const { getFunctions, httpsCallable } = await getFunctionsMethods();
581
+ */
582
+ export declare const getFunctionsMethods: () => Promise<{
583
+ default: typeof import("firebase/functions");
584
+ connectFunctionsEmulator(functionsInstance: import("@firebase/functions").Functions, host: string, port: number): void;
585
+ getFunctions(app?: import("@firebase/app").FirebaseApp | undefined, regionOrCustomDomain?: string | undefined): import("@firebase/functions").Functions;
586
+ httpsCallable<RequestData = unknown, ResponseData = unknown, StreamData = unknown>(functionsInstance: import("@firebase/functions").Functions, name: string, options?: import("@firebase/functions").HttpsCallableOptions | undefined): import("@firebase/functions").HttpsCallable<RequestData, ResponseData, StreamData>;
587
+ httpsCallableFromURL<RequestData_1 = unknown, ResponseData_1 = unknown, StreamData_1 = unknown>(functionsInstance: import("@firebase/functions").Functions, url: string, options?: import("@firebase/functions").HttpsCallableOptions | undefined): import("@firebase/functions").HttpsCallable<RequestData_1, ResponseData_1, StreamData_1>;
588
+ FunctionsError: typeof import("@firebase/functions").FunctionsError;
589
+ }>;