@firebase/firestore 3.5.0 → 3.6.0

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.
Files changed (106) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/firestore/lite/index.d.ts +2 -0
  3. package/dist/firestore/src/api/aggregate.d.ts +43 -0
  4. package/dist/firestore/src/api/database.d.ts +15 -15
  5. package/dist/firestore/src/api.d.ts +2 -0
  6. package/dist/firestore/src/core/count_query_runner.d.ts +32 -0
  7. package/dist/firestore/src/core/firestore_client.d.ts +5 -0
  8. package/dist/firestore/src/lite-api/aggregate.d.ts +48 -0
  9. package/dist/firestore/src/lite-api/aggregate_types.d.ts +69 -0
  10. package/dist/firestore/src/lite-api/database.d.ts +7 -7
  11. package/dist/firestore/src/platform/node/grpc_connection.d.ts +1 -0
  12. package/dist/firestore/src/protos/firestore_proto_api.d.ts +28 -0
  13. package/dist/firestore/src/remote/connection.d.ts +7 -0
  14. package/dist/firestore/src/remote/datastore.d.ts +2 -0
  15. package/dist/firestore/src/remote/rest_connection.d.ts +1 -0
  16. package/dist/firestore/src/remote/serializer.d.ts +2 -1
  17. package/dist/firestore/test/integration/api/aggregation.test.d.ts +17 -0
  18. package/dist/firestore/test/integration/api_internal/aggregation.test.d.ts +17 -0
  19. package/dist/firestore/test/integration/util/helpers.d.ts +1 -0
  20. package/dist/firestore/test/unit/specs/spec_test_components.d.ts +1 -0
  21. package/dist/index.d.ts +196 -14
  22. package/dist/index.esm2017.js +4616 -4413
  23. package/dist/index.esm2017.js.map +1 -1
  24. package/dist/index.esm5.js +4608 -4402
  25. package/dist/index.esm5.js.map +1 -1
  26. package/dist/index.node.cjs.js +994 -613
  27. package/dist/index.node.cjs.js.map +1 -1
  28. package/dist/index.node.mjs +992 -615
  29. package/dist/index.node.mjs.map +1 -1
  30. package/dist/index.rn.js +4622 -4419
  31. package/dist/index.rn.js.map +1 -1
  32. package/dist/internal.d.ts +139 -17
  33. package/dist/lite/firestore/lite/index.d.ts +2 -0
  34. package/dist/lite/firestore/src/api/aggregate.d.ts +43 -0
  35. package/dist/lite/firestore/src/api/database.d.ts +15 -15
  36. package/dist/lite/firestore/src/api.d.ts +2 -0
  37. package/dist/lite/firestore/src/core/count_query_runner.d.ts +32 -0
  38. package/dist/lite/firestore/src/core/firestore_client.d.ts +5 -0
  39. package/dist/lite/firestore/src/lite-api/aggregate.d.ts +48 -0
  40. package/dist/lite/firestore/src/lite-api/aggregate_types.d.ts +69 -0
  41. package/dist/lite/firestore/src/lite-api/database.d.ts +7 -7
  42. package/dist/lite/firestore/src/platform/node/grpc_connection.d.ts +1 -0
  43. package/dist/lite/firestore/src/protos/firestore_proto_api.d.ts +28 -0
  44. package/dist/lite/firestore/src/remote/connection.d.ts +7 -0
  45. package/dist/lite/firestore/src/remote/datastore.d.ts +2 -0
  46. package/dist/lite/firestore/src/remote/rest_connection.d.ts +1 -0
  47. package/dist/lite/firestore/src/remote/serializer.d.ts +2 -1
  48. package/dist/lite/firestore/test/integration/api/aggregation.test.d.ts +17 -0
  49. package/dist/lite/firestore/test/integration/api_internal/aggregation.test.d.ts +17 -0
  50. package/dist/lite/firestore/test/integration/util/helpers.d.ts +1 -0
  51. package/dist/lite/firestore/test/unit/specs/spec_test_components.d.ts +1 -0
  52. package/dist/lite/index.browser.esm2017.js +1250 -1086
  53. package/dist/lite/index.browser.esm2017.js.map +1 -1
  54. package/dist/lite/index.browser.esm5.js +1394 -1232
  55. package/dist/lite/index.browser.esm5.js.map +1 -1
  56. package/dist/lite/index.d.ts +84 -4
  57. package/dist/lite/index.node.cjs.js +255 -63
  58. package/dist/lite/index.node.cjs.js.map +1 -1
  59. package/dist/lite/index.node.mjs +253 -65
  60. package/dist/lite/index.node.mjs.map +1 -1
  61. package/dist/lite/index.rn.esm2017.js +1257 -1093
  62. package/dist/lite/index.rn.esm2017.js.map +1 -1
  63. package/dist/lite/internal.d.ts +121 -6
  64. package/dist/lite/packages/firestore/dist/lite/index.browser.esm2017.d.ts +227 -142
  65. package/dist/lite/packages/firestore/lite/index.d.ts +2 -0
  66. package/dist/lite/packages/firestore/src/api/aggregate.d.ts +43 -0
  67. package/dist/lite/packages/firestore/src/api/database.d.ts +15 -15
  68. package/dist/lite/packages/firestore/src/api.d.ts +2 -0
  69. package/dist/lite/packages/firestore/src/core/count_query_runner.d.ts +32 -0
  70. package/dist/lite/packages/firestore/src/core/firestore_client.d.ts +5 -0
  71. package/dist/lite/packages/firestore/src/lite-api/aggregate.d.ts +48 -0
  72. package/dist/lite/packages/firestore/src/lite-api/aggregate_types.d.ts +69 -0
  73. package/dist/lite/packages/firestore/src/lite-api/database.d.ts +7 -7
  74. package/dist/lite/packages/firestore/src/platform/node/grpc_connection.d.ts +1 -0
  75. package/dist/lite/packages/firestore/src/protos/firestore_proto_api.d.ts +28 -0
  76. package/dist/lite/packages/firestore/src/remote/connection.d.ts +7 -0
  77. package/dist/lite/packages/firestore/src/remote/datastore.d.ts +2 -0
  78. package/dist/lite/packages/firestore/src/remote/rest_connection.d.ts +1 -0
  79. package/dist/lite/packages/firestore/src/remote/serializer.d.ts +2 -1
  80. package/dist/lite/packages/firestore/test/integration/api/aggregation.test.d.ts +17 -0
  81. package/dist/lite/packages/firestore/test/integration/api_internal/aggregation.test.d.ts +17 -0
  82. package/dist/lite/packages/firestore/test/integration/util/helpers.d.ts +1 -0
  83. package/dist/lite/packages/firestore/test/unit/specs/spec_test_components.d.ts +1 -0
  84. package/dist/lite/private.d.ts +119 -4
  85. package/dist/packages/firestore/dist/index.esm2017.d.ts +336 -254
  86. package/dist/packages/firestore/lite/index.d.ts +2 -0
  87. package/dist/packages/firestore/src/api/aggregate.d.ts +43 -0
  88. package/dist/packages/firestore/src/api/database.d.ts +15 -15
  89. package/dist/packages/firestore/src/api.d.ts +2 -0
  90. package/dist/packages/firestore/src/core/count_query_runner.d.ts +32 -0
  91. package/dist/packages/firestore/src/core/firestore_client.d.ts +5 -0
  92. package/dist/packages/firestore/src/lite-api/aggregate.d.ts +48 -0
  93. package/dist/packages/firestore/src/lite-api/aggregate_types.d.ts +69 -0
  94. package/dist/packages/firestore/src/lite-api/database.d.ts +7 -7
  95. package/dist/packages/firestore/src/platform/node/grpc_connection.d.ts +1 -0
  96. package/dist/packages/firestore/src/protos/firestore_proto_api.d.ts +28 -0
  97. package/dist/packages/firestore/src/remote/connection.d.ts +7 -0
  98. package/dist/packages/firestore/src/remote/datastore.d.ts +2 -0
  99. package/dist/packages/firestore/src/remote/rest_connection.d.ts +1 -0
  100. package/dist/packages/firestore/src/remote/serializer.d.ts +2 -1
  101. package/dist/packages/firestore/test/integration/api/aggregation.test.d.ts +17 -0
  102. package/dist/packages/firestore/test/integration/api_internal/aggregation.test.d.ts +17 -0
  103. package/dist/packages/firestore/test/integration/util/helpers.d.ts +1 -0
  104. package/dist/packages/firestore/test/unit/specs/spec_test_components.d.ts +1 -0
  105. package/dist/private.d.ts +234 -19
  106. package/package.json +6 -6
@@ -19,16 +19,75 @@
19
19
  * to the user.
20
20
  *
21
21
  * @internal
22
- */
23
- declare class nl {
22
+ */ declare class tl {
24
23
  convertValue(t: any, e?: string): any;
25
24
  convertObject(t: any, e: any): {};
26
- convertGeoPoint(t: any): Za;
25
+ convertGeoPoint(t: any): ih;
27
26
  convertArray(t: any, e: any): any;
28
27
  convertServerTimestamp(t: any, e: any): any;
29
- convertTimestamp(t: any): et;
30
- convertDocumentKey(t: any, e: any): ut;
28
+ convertTimestamp(t: any): nt;
29
+ convertDocumentKey(t: any, e: any): ct;
30
+ }
31
+ /**
32
+ * @license
33
+ * Copyright 2022 Google LLC
34
+ *
35
+ * Licensed under the Apache License, Version 2.0 (the "License");
36
+ * you may not use this file except in compliance with the License.
37
+ * You may obtain a copy of the License at
38
+ *
39
+ * http://www.apache.org/licenses/LICENSE-2.0
40
+ *
41
+ * Unless required by applicable law or agreed to in writing, software
42
+ * distributed under the License is distributed on an "AS IS" BASIS,
43
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
44
+ * See the License for the specific language governing permissions and
45
+ * limitations under the License.
46
+ */
47
+ /**
48
+ * Represents an aggregation that can be performed by Firestore.
49
+ */
50
+ declare class aa {
51
+ /** A type string to uniquely identify instances of this class. */
52
+ type: string;
53
+ }
54
+ /**
55
+ * The results of executing an aggregation query.
56
+ */ declare class ha {
57
+ /** @hideconstructor */
58
+ constructor(t: any, e: any);
59
+ _data: any;
60
+ /** A type string to uniquely identify instances of this class. */
61
+ type: string;
62
+ query: any;
63
+ /**
64
+ * Returns the results of the aggregations performed over the underlying
65
+ * query.
66
+ *
67
+ * The keys of the returned object will be the same as those of the
68
+ * `AggregateSpec` object specified to the aggregation method, and the values
69
+ * will be the corresponding aggregation result.
70
+ *
71
+ * @returns The results of the aggregations performed over the underlying
72
+ * query.
73
+ */ data(): any;
31
74
  }
75
+ /**
76
+ * @license
77
+ * Copyright 2020 Google LLC
78
+ *
79
+ * Licensed under the Apache License, Version 2.0 (the "License");
80
+ * you may not use this file except in compliance with the License.
81
+ * You may obtain a copy of the License at
82
+ *
83
+ * http://www.apache.org/licenses/LICENSE-2.0
84
+ *
85
+ * Unless required by applicable law or agreed to in writing, software
86
+ * distributed under the License is distributed on an "AS IS" BASIS,
87
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
88
+ * See the License for the specific language governing permissions and
89
+ * limitations under the License.
90
+ */
32
91
  /**
33
92
  * @license
34
93
  * Copyright 2020 Google LLC
@@ -47,18 +106,19 @@ declare class nl {
47
106
  */
48
107
  /**
49
108
  * An immutable object representing an array of bytes.
50
- */ declare class Ya {
109
+ */
110
+ declare class th {
51
111
  /**
52
112
  * Creates a new `Bytes` object from the given Base64 string, converting it to
53
113
  * bytes.
54
114
  *
55
115
  * @param base64 - The Base64 string used to create the `Bytes` object.
56
- */ static fromBase64String(t: any): Ya;
116
+ */ static fromBase64String(t: any): th;
57
117
  /**
58
118
  * Creates a new `Bytes` object from the given Uint8Array.
59
119
  *
60
120
  * @param array - The Uint8Array used to create the `Bytes` object.
61
- */ static fromUint8Array(t: any): Ya;
121
+ */ static fromUint8Array(t: any): th;
62
122
  /** @hideconstructor */
63
123
  constructor(t: any);
64
124
  _byteString: any;
@@ -100,11 +160,11 @@ declare class nl {
100
160
  * See the License for the specific language governing permissions and
101
161
  * limitations under the License.
102
162
  */
103
- /** DOMException error code constants. */ declare const xa: -1;
163
+ /** DOMException error code constants. */ declare const Fa: -1;
104
164
  /**
105
165
  * A `CollectionReference` object can be used for adding documents, getting
106
166
  * document references, and querying for documents (using {@link query}).
107
- */ declare class Aa extends Ea {
167
+ */ declare class ta extends Zc {
108
168
  _path: any;
109
169
  /** The collection's identifier. */ get id(): any;
110
170
  /**
@@ -114,7 +174,7 @@ declare class nl {
114
174
  /**
115
175
  * A reference to the containing `DocumentReference` if this is a
116
176
  * subcollection. If this isn't a subcollection, the reference is null.
117
- */ get parent(): Ta | null;
177
+ */ get parent(): Xc | null;
118
178
  }
119
179
  /**
120
180
  * @license
@@ -136,7 +196,7 @@ declare class nl {
136
196
  * A `DocumentReference` refers to a document location in a Firestore database
137
197
  * and can be used to write, read, or listen to the location. The document at
138
198
  * the referenced location may or may not exist.
139
- */ declare class Ta {
199
+ */ declare class Xc {
140
200
  /** @hideconstructor */
141
201
  constructor(t: any, e: any, n: any);
142
202
  converter: any;
@@ -154,8 +214,8 @@ declare class nl {
154
214
  */ get path(): any;
155
215
  /**
156
216
  * The collection this `DocumentReference` belongs to.
157
- */ get parent(): Aa;
158
- withConverter(t: any): Ta;
217
+ */ get parent(): ta;
218
+ withConverter(t: any): Xc;
159
219
  }
160
220
  /**
161
221
  * A `DocumentSnapshot` contains data read from a document in your Firestore
@@ -165,28 +225,12 @@ declare class nl {
165
225
  * For a `DocumentSnapshot` that points to a non-existing document, any data
166
226
  * access will return 'undefined'. You can use the `exists()` method to
167
227
  * explicitly verify a document's existence.
168
- */ declare class Dh extends Ph {
228
+ */ declare class il extends Ch {
169
229
  /** @hideconstructor protected */
170
230
  constructor(t: any, e: any, n: any, s: any, i: any, r: any);
171
231
  _firestoreImpl: any;
172
232
  metadata: any;
173
233
  }
174
- /**
175
- * @license
176
- * Copyright 2020 Google LLC
177
- *
178
- * Licensed under the Apache License, Version 2.0 (the "License");
179
- * you may not use this file except in compliance with the License.
180
- * You may obtain a copy of the License at
181
- *
182
- * http://www.apache.org/licenses/LICENSE-2.0
183
- *
184
- * Unless required by applicable law or agreed to in writing, software
185
- * distributed under the License is distributed on an "AS IS" BASIS,
186
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
187
- * See the License for the specific language governing permissions and
188
- * limitations under the License.
189
- */
190
234
  /**
191
235
  * @license
192
236
  * Copyright 2020 Google LLC
@@ -210,8 +254,7 @@ declare class nl {
210
254
  *
211
255
  * Create a `FieldPath` by providing field names. If more than one field
212
256
  * name is provided, the path will point to a nested field in a document.
213
- */
214
- declare class Ha {
257
+ */ declare class eh {
215
258
  /**
216
259
  * Creates a `FieldPath` from the provided field names. If more than one field
217
260
  * name is provided, the path will point to a nested field in a document.
@@ -219,7 +262,7 @@ declare class Ha {
219
262
  * @param fieldNames - A list of field names.
220
263
  */
221
264
  constructor(...t: any[]);
222
- _internalPath: ot;
265
+ _internalPath: ut;
223
266
  /**
224
267
  * Returns true if this `FieldPath` is equal to the provided one.
225
268
  *
@@ -246,7 +289,7 @@ declare class Ha {
246
289
  /**
247
290
  * Sentinel values that can be used when writing document fields with `set()`
248
291
  * or `update()`.
249
- */ declare class Xa {
292
+ */ declare class sh {
250
293
  /**
251
294
  * @param _methodName - The public API endpoint that returns this class.
252
295
  * @hideconstructor
@@ -257,12 +300,12 @@ declare class Ha {
257
300
  /**
258
301
  * The Cloud Firestore service interface.
259
302
  *
260
- * Do not call this constructor directly. Instead, use {@link getFirestore}.
303
+ * Do not call this constructor directly. Instead, use {@link (getFirestore:1)}.
261
304
  */
262
- declare class Na extends pa {
263
- _queue: Sa;
305
+ declare class $a extends Jc {
306
+ _queue: ka;
264
307
  }
265
- /** An error returned by a Firestore operation. */ declare class B extends c {
308
+ /** An error returned by a Firestore operation. */ declare class L extends c {
266
309
  /** @hideconstructor */
267
310
  constructor(t: any, e: any);
268
311
  }
@@ -288,7 +331,7 @@ declare class Na extends pa {
288
331
  *
289
332
  * Latitude values are in the range of [-90, 90].
290
333
  * Longitude values are in the range of [-180, 180].
291
- */ declare class Za {
334
+ */ declare class ih {
292
335
  /**
293
336
  * Creates a new immutable `GeoPoint` object with the provided latitude and
294
337
  * longitude values.
@@ -319,9 +362,9 @@ declare class Na extends pa {
319
362
  * with an underscore.
320
363
  */ _compareTo(t: any): 0 | 1 | -1;
321
364
  }
322
- declare class Ca {
365
+ declare class Ma {
323
366
  _progressObserver: {};
324
- _taskCompletionResolver: L;
367
+ _taskCompletionResolver: U;
325
368
  _lastProgress: {
326
369
  taskState: string;
327
370
  totalBytes: number;
@@ -371,7 +414,7 @@ declare class Ca {
371
414
  /**
372
415
  * A `Query` refers to a query which you can read or listen to. You can also
373
416
  * construct refined `Query` objects by adding filters and ordering.
374
- */ declare class Ea {
417
+ */ declare class Zc {
375
418
  /** @hideconstructor protected */
376
419
  constructor(t: any, e: any, n: any);
377
420
  converter: any;
@@ -379,7 +422,7 @@ declare class Ca {
379
422
  /** The type of this Firestore reference. */
380
423
  type: string;
381
424
  firestore: any;
382
- withConverter(t: any): Ea;
425
+ withConverter(t: any): Zc;
383
426
  }
384
427
  /**
385
428
  * A `QueryConstraint` is used to narrow the set of documents returned by a
@@ -400,7 +443,7 @@ declare class Ca {
400
443
  * `DocumentSnapshot`. Since query results contain only existing documents, the
401
444
  * `exists` property will always be true and `data()` will never return
402
445
  * 'undefined'.
403
- */ declare class Ch extends Dh {
446
+ */ declare class rl extends il {
404
447
  }
405
448
  /**
406
449
  * A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
@@ -408,13 +451,13 @@ declare class Ca {
408
451
  * array via the `docs` property or enumerated using the `forEach` method. The
409
452
  * number of documents can be determined via the `empty` and `size`
410
453
  * properties.
411
- */ declare class xh {
454
+ */ declare class ol {
412
455
  /** @hideconstructor */
413
456
  constructor(t: any, e: any, n: any, s: any);
414
457
  _firestore: any;
415
458
  _userDataWriter: any;
416
459
  _snapshot: any;
417
- metadata: Sh;
460
+ metadata: sl;
418
461
  query: any;
419
462
  /** An array of all the documents in the `QuerySnapshot`. */ get docs(): any[];
420
463
  /** The number of documents in the `QuerySnapshot`. */ get size(): any;
@@ -456,7 +499,7 @@ declare class Ca {
456
499
  */
457
500
  /**
458
501
  * Metadata about a snapshot, describing the state of the snapshot.
459
- */ declare class Sh {
502
+ */ declare class sl {
460
503
  /** @hideconstructor */
461
504
  constructor(t: any, e: any);
462
505
  hasPendingWrites: any;
@@ -498,19 +541,19 @@ declare class Ca {
498
541
  * For examples and further specifications, refer to the
499
542
  * {@link https://github.com/google/protobuf/blob/master/src/google/protobuf/timestamp.proto | Timestamp definition}.
500
543
  */
501
- declare class et {
544
+ declare class nt {
502
545
  /**
503
546
  * Creates a new timestamp with the current date, with millisecond precision.
504
547
  *
505
548
  * @returns a new timestamp representing the current date.
506
- */ static now(): et;
549
+ */ static now(): nt;
507
550
  /**
508
551
  * Creates a new timestamp from the given date.
509
552
  *
510
553
  * @param date - The date to initialize the `Timestamp` from.
511
554
  * @returns A new `Timestamp` representing the same point in time as the given
512
555
  * date.
513
- */ static fromDate(t: any): et;
556
+ */ static fromDate(t: any): nt;
514
557
  /**
515
558
  * Creates a new timestamp from the given number of milliseconds.
516
559
  *
@@ -518,7 +561,7 @@ declare class et {
518
561
  * 1970-01-01T00:00:00Z.
519
562
  * @returns A new `Timestamp` representing the same point in time as the given
520
563
  * number of milliseconds.
521
- */ static fromMillis(t: any): et;
564
+ */ static fromMillis(t: any): nt;
522
565
  /**
523
566
  * Creates a new timestamp.
524
567
  *
@@ -565,11 +608,11 @@ declare class et {
565
608
  * to be compared using the `>`, `<=`, `>=` and `>` operators.
566
609
  */ valueOf(): string;
567
610
  }
568
- declare const El_base: {
611
+ declare const Sl_base: {
569
612
  new (t: any, e: any): {
570
613
  _firestore: any;
571
614
  _transaction: any;
572
- _dataReader: rh;
615
+ _dataReader: hh;
573
616
  /**
574
617
  * Reads the document referenced by the provided {@link DocumentReference}.
575
618
  *
@@ -608,7 +651,31 @@ declare const El_base: {
608
651
  * The `Transaction` object passed to a transaction's `updateFunction` provides
609
652
  * the methods to read and write data within the transaction context. See
610
653
  * {@link runTransaction}.
611
- */ declare class El extends El_base {
654
+ */
655
+ /**
656
+ * @license
657
+ * Copyright 2020 Google LLC
658
+ *
659
+ * Licensed under the Apache License, Version 2.0 (the "License");
660
+ * you may not use this file except in compliance with the License.
661
+ * You may obtain a copy of the License at
662
+ *
663
+ * http://www.apache.org/licenses/LICENSE-2.0
664
+ *
665
+ * Unless required by applicable law or agreed to in writing, software
666
+ * distributed under the License is distributed on an "AS IS" BASIS,
667
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
668
+ * See the License for the specific language governing permissions and
669
+ * limitations under the License.
670
+ */
671
+ /**
672
+ * A reference to a transaction.
673
+ *
674
+ * The `Transaction` object passed to a transaction's `updateFunction` provides
675
+ * the methods to read and write data within the transaction context. See
676
+ * {@link runTransaction}.
677
+ */
678
+ declare class Sl extends Sl_base {
612
679
  }
613
680
  /**
614
681
  * @license
@@ -633,22 +700,23 @@ declare const El_base: {
633
700
  * provides methods for adding writes to the write batch. None of the writes
634
701
  * will be committed (or visible locally) until {@link WriteBatch.commit} is
635
702
  * called.
636
- */ declare class rl {
703
+ */
704
+ declare class vl {
637
705
  /** @hideconstructor */
638
706
  constructor(t: any, e: any);
639
707
  _firestore: any;
640
708
  _commitHandler: any;
641
709
  _mutations: any[];
642
710
  _committed: boolean;
643
- _dataReader: rh;
644
- set(t: any, e: any, n: any): rl;
645
- update(t: any, e: any, n: any, ...s: any[]): rl;
711
+ _dataReader: hh;
712
+ set(t: any, e: any, n: any): vl;
713
+ update(t: any, e: any, n: any, ...s: any[]): vl;
646
714
  /**
647
715
  * Deletes the document referred to by the provided {@link DocumentReference}.
648
716
  *
649
717
  * @param documentRef - A reference to the document to be deleted.
650
718
  * @returns This `WriteBatch` instance. Used for chaining method calls.
651
- */ delete(t: any): rl;
719
+ */ delete(t: any): vl;
652
720
  /**
653
721
  * Commits all of the writes in this write batch as a single atomic unit.
654
722
  *
@@ -668,8 +736,8 @@ declare const El_base: {
668
736
  * Represents the database ID a Firestore client is associated with.
669
737
  * @internal
670
738
  */
671
- declare class ee {
672
- static empty(): ee;
739
+ declare class ne {
740
+ static empty(): ne;
673
741
  constructor(t: any, e: any);
674
742
  projectId: any;
675
743
  database: any;
@@ -694,10 +762,10 @@ declare class ee {
694
762
  */
695
763
  /**
696
764
  * @internal
697
- */ declare class ut {
698
- static fromPath(t: any): ut;
699
- static fromName(t: any): ut;
700
- static empty(): ut;
765
+ */ declare class ct {
766
+ static fromPath(t: any): ct;
767
+ static fromName(t: any): ct;
768
+ static empty(): ct;
701
769
  static comparator(t: any, e: any): 0 | 1 | -1;
702
770
  static isDocumentKey(t: any): boolean;
703
771
  /**
@@ -705,7 +773,7 @@ declare class ee {
705
773
  *
706
774
  * @param segments - The segments of the path to the document
707
775
  * @returns A new instance of DocumentKey
708
- */ static fromSegments(t: any): ut;
776
+ */ static fromSegments(t: any): ct;
709
777
  constructor(t: any);
710
778
  path: any;
711
779
  get collectionGroup(): any;
@@ -718,8 +786,8 @@ declare class ee {
718
786
  /**
719
787
  * An AppCheck token provider that always yields an empty token.
720
788
  * @internal
721
- */ declare class H {
722
- getToken(): Promise<W>;
789
+ */ declare class J {
790
+ getToken(): Promise<z>;
723
791
  invalidateToken(): void;
724
792
  start(t: any, e: any): void;
725
793
  shutdown(): void;
@@ -727,7 +795,7 @@ declare class ee {
727
795
  /**
728
796
  * A CredentialsProvider that always yields an empty token.
729
797
  * @internal
730
- */ declare class q {
798
+ */ declare class K {
731
799
  getToken(): Promise<null>;
732
800
  invalidateToken(): void;
733
801
  start(t: any, e: any): void;
@@ -736,14 +804,14 @@ declare class ee {
736
804
  /**
737
805
  * A dot-separated path for navigating sub-objects within a document.
738
806
  * @internal
739
- */ declare class ot extends st {
807
+ */ declare class ut extends it {
740
808
  /**
741
809
  * Returns true if the string could be used as a segment in a field path
742
810
  * without escaping.
743
811
  */ static isValidIdentifier(t: any): boolean;
744
812
  /**
745
813
  * The field designating the key of a document.
746
- */ static keyField(): ot;
814
+ */ static keyField(): ut;
747
815
  /**
748
816
  * Parses a field string from the given server-formatted string.
749
817
  *
@@ -753,16 +821,16 @@ declare class ee {
753
821
  *
754
822
  * TODO(b/37244157): we should make this more strict. Right now, it allows
755
823
  * non-identifier path components, even if they aren't escaped.
756
- */ static fromServerFormat(t: any): ot;
757
- static emptyPath(): ot;
758
- construct(t: any, e: any, n: any): ot;
824
+ */ static fromServerFormat(t: any): ut;
825
+ static emptyPath(): ut;
826
+ construct(t: any, e: any, n: any): ut;
759
827
  canonicalString(): any;
760
828
  toString(): any;
761
829
  /**
762
830
  * Returns true if this field references the key of a document.
763
831
  */ isKeyField(): boolean;
764
832
  }
765
- declare function ma(t: any, e: any): any;
833
+ declare function jc(t: any, e: any): any;
766
834
  /**
767
835
  * Fails if the given assertion condition is false, throwing an Error with the
768
836
  * given message if it did.
@@ -772,7 +840,7 @@ declare function ma(t: any, e: any): any;
772
840
  * happen in this case.
773
841
  *
774
842
  * @internal
775
- */ declare function O(t: any, e: any): void;
843
+ */ declare function F(t: any, e: any): void;
776
844
  /**
777
845
  * @license
778
846
  * Copyright 2020 Google LLC
@@ -791,14 +859,14 @@ declare function ma(t: any, e: any): any;
791
859
  */
792
860
  /** Converts a Base64 encoded string to a binary string. */
793
861
  /** True if and only if the Base64 conversion functions are available. */
794
- declare function Qt(): boolean;
862
+ declare function jt(): boolean;
795
863
  /**
796
864
  * @internal
797
- */ declare function x(t: any, ...e: any[]): void;
865
+ */ declare function N(t: any, ...e: any[]): void;
798
866
  /**
799
867
  * Validates that two boolean options are not set at the same time.
800
868
  * @internal
801
- */ declare function fa(t: any, e: any, n: any, s: any): void;
869
+ */ declare function qc(t: any, e: any, n: any, s: any): void;
802
870
  /**
803
871
  * Add a new document to specified `CollectionReference` with the given data,
804
872
  * assigning it a document ID automatically.
@@ -808,7 +876,35 @@ declare function Qt(): boolean;
808
876
  * @returns A `Promise` resolved with a `DocumentReference` pointing to the
809
877
  * newly created document after it has been written to the backend (Note that it
810
878
  * won't resolve while you're offline).
811
- */ declare function gl(t: any, e: any): Promise<Ta>;
879
+ */ declare function pl(t: any, e: any): Promise<Xc>;
880
+ /**
881
+ * @license
882
+ * Copyright 2022 Google LLC
883
+ *
884
+ * Licensed under the Apache License, Version 2.0 (the "License");
885
+ * you may not use this file except in compliance with the License.
886
+ * You may obtain a copy of the License at
887
+ *
888
+ * http://www.apache.org/licenses/LICENSE-2.0
889
+ *
890
+ * Unless required by applicable law or agreed to in writing, software
891
+ * distributed under the License is distributed on an "AS IS" BASIS,
892
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
893
+ * See the License for the specific language governing permissions and
894
+ * limitations under the License.
895
+ */
896
+ /**
897
+ * Compares two `AggregateQuerySnapshot` instances for equality.
898
+ *
899
+ * Two `AggregateQuerySnapshot` instances are considered "equal" if they have
900
+ * underlying queries that compare equal, and the same data.
901
+ *
902
+ * @param left - The first `AggregateQuerySnapshot` to compare.
903
+ * @param right - The second `AggregateQuerySnapshot` to compare.
904
+ *
905
+ * @returns `true` if the objects are "equal", as defined above, or `false`
906
+ * otherwise.
907
+ */ declare function Rl(t: any, e: any): boolean;
812
908
  /**
813
909
  * Returns a special value that can be used with {@link (setDoc:1)} or {@link
814
910
  * updateDoc:1} that tells the server to remove the given elements from any
@@ -819,7 +915,7 @@ declare function Qt(): boolean;
819
915
  * @param elements - The elements to remove from the array.
820
916
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
821
917
  * `updateDoc()`
822
- */ declare function vl(...t: any[]): fh;
918
+ */ declare function kl(...t: any[]): gh;
823
919
  /**
824
920
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
825
921
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
@@ -831,9 +927,9 @@ declare function Qt(): boolean;
831
927
  * @param elements - The elements to union into the array.
832
928
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
833
929
  * `updateDoc()`.
834
- */ declare function Pl(...t: any[]): lh;
835
- declare function Ua(t: any): Promise<any>;
836
- declare function Ra(t: any, e: any, ...n: any[]): Aa;
930
+ */ declare function Nl(...t: any[]): mh;
931
+ declare function ja(t: any): Promise<any>;
932
+ declare function ea(t: any, e: any, ...n: any[]): ta;
837
933
  /**
838
934
  * Creates and returns a new `Query` instance that includes all documents in the
839
935
  * database that are contained in a collection or subcollection with the
@@ -844,7 +940,7 @@ declare function Ra(t: any, e: any, ...n: any[]): Aa;
844
940
  * collection or subcollection with this ID as the last segment of its path
845
941
  * will be included. Cannot contain a slash.
846
942
  * @returns The created `Query`.
847
- */ declare function ba(t: any, e: any): Ea;
943
+ */ declare function na(t: any, e: any): Zc;
848
944
  /**
849
945
  * Modify this instance to communicate with the Cloud Firestore emulator.
850
946
  *
@@ -857,14 +953,14 @@ declare function Ra(t: any, e: any, ...n: any[]): Aa;
857
953
  * @param port - the emulator port (ex: 9000).
858
954
  * @param options.mockUserToken - the mock auth token to use for unit testing
859
955
  * Security Rules.
860
- */ declare function Ia(t: any, e: any, n: any, s?: {}): void;
956
+ */ declare function Yc(t: any, e: any, n: any, s?: {}): void;
861
957
  /**
862
958
  * Deletes the document referred to by the specified `DocumentReference`.
863
959
  *
864
960
  * @param reference - A reference to the document to delete.
865
961
  * @returns A Promise resolved once the document has been successfully
866
962
  * deleted from the backend (note that it won't resolve while you're offline).
867
- */ declare function ml(t: any): Promise<any>;
963
+ */ declare function yl(t: any): Promise<any>;
868
964
  /**
869
965
  * @license
870
966
  * Copyright 2020 Google LLC
@@ -884,7 +980,7 @@ declare function Ra(t: any, e: any, ...n: any[]): Aa;
884
980
  /**
885
981
  * Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
886
982
  * {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
887
- */ declare function Rl(): ch;
983
+ */ declare function Cl(): dh;
888
984
  /**
889
985
  * Disables network usage for this instance. It can be re-enabled via {@link
890
986
  * enableNetwork}. While the network is disabled, any snapshot listeners,
@@ -892,17 +988,17 @@ declare function Ra(t: any, e: any, ...n: any[]): Aa;
892
988
  * operations will be queued until the network is restored.
893
989
  *
894
990
  * @returns A `Promise` that is resolved once the network has been disabled.
895
- */ declare function Ga(t: any): any;
896
- declare function Pa(t: any, e: any, ...n: any[]): Ta;
991
+ */ declare function Ha(t: any): any;
992
+ declare function sa(t: any, e: any, ...n: any[]): Xc;
897
993
  /**
898
994
  * Returns a special sentinel `FieldPath` to refer to the ID of a document.
899
995
  * It can be used in queries to sort or filter by the document ID.
900
- */ declare function Ja(): Ha;
996
+ */ declare function nh(): eh;
901
997
  /**
902
998
  * Attempts to enable persistent storage, if possible.
903
999
  *
904
1000
  * Must be called before any other functions (other than
905
- * {@link initializeFirestore}, {@link getFirestore} or
1001
+ * {@link initializeFirestore}, {@link (getFirestore:1)} or
906
1002
  * {@link clearIndexedDbPersistence}.
907
1003
  *
908
1004
  * If this fails, `enableIndexedDbPersistence()` will reject the promise it
@@ -920,7 +1016,7 @@ declare function Pa(t: any, e: any, ...n: any[]): Ta;
920
1016
  * @param persistenceSettings - Optional settings object to configure
921
1017
  * persistence.
922
1018
  * @returns A `Promise` that represents successfully enabling persistent storage.
923
- */ declare function $a(t: any, e: any): any;
1019
+ */ declare function Ka(t: any, e: any): any;
924
1020
  /**
925
1021
  * Attempts to enable multi-tab persistent storage, if possible. If enabled
926
1022
  * across all tabs, all operations share access to local persistence, including
@@ -942,25 +1038,25 @@ declare function Pa(t: any, e: any, ...n: any[]): Ta;
942
1038
  * @param firestore - The {@link Firestore} instance to enable persistence for.
943
1039
  * @returns A `Promise` that represents successfully enabling persistent
944
1040
  * storage.
945
- */ declare function Ba(t: any): any;
1041
+ */ declare function Ga(t: any): any;
946
1042
  /**
947
1043
  * Re-enables use of the network for this {@link Firestore} instance after a prior
948
1044
  * call to {@link disableNetwork}.
949
1045
  *
950
1046
  * @returns A `Promise` that is resolved once the network has been enabled.
951
- */ declare function Ka(t: any): any;
952
- declare function Jh(...t: any[]): zh;
953
- declare function Hh(...t: any[]): zh;
1047
+ */ declare function za(t: any): any;
1048
+ declare function Hh(...t: any[]): Wh;
1049
+ declare function zh(...t: any[]): Wh;
954
1050
  /**
955
1051
  * @internal
956
- */ declare function Oa(t: any): any;
1052
+ */ declare function Ua(t: any): any;
957
1053
  /**
958
1054
  * Locally writes `mutations` on the async queue.
959
1055
  * @internal
960
- */ declare function Il(t: any, e: any): Promise<any>;
1056
+ */ declare function El(t: any, e: any): Promise<any>;
961
1057
  /**
962
1058
  * @license
963
- * Copyright 2020 Google LLC
1059
+ * Copyright 2022 Google LLC
964
1060
  *
965
1061
  * Licensed under the Apache License, Version 2.0 (the "License");
966
1062
  * you may not use this file except in compliance with the License.
@@ -975,12 +1071,26 @@ declare function Hh(...t: any[]): zh;
975
1071
  * limitations under the License.
976
1072
  */
977
1073
  /**
978
- * A reference to a transaction.
1074
+ * Calculates the number of documents in the result set of the given query,
1075
+ * without actually downloading the documents.
979
1076
  *
980
- * The `Transaction` object passed to a transaction's `updateFunction` provides
981
- * the methods to read and write data within the transaction context. See
982
- * {@link runTransaction}.
983
- */
1077
+ * Using this function to count the documents is efficient because only the
1078
+ * final count, not the documents' data, is downloaded. This function can even
1079
+ * count the documents if the result set would be prohibitively large to
1080
+ * download entirely (e.g. thousands of documents).
1081
+ *
1082
+ * The result received from the server is presented, unaltered, without
1083
+ * considering any local state. That is, documents in the local cache are not
1084
+ * taken into consideration, neither are local modifications not yet
1085
+ * synchronized with the server. Previously-downloaded results, if any, are not
1086
+ * used: every request using this source necessarily involves a round trip to
1087
+ * the server.
1088
+ *
1089
+ * @param query - The query whose result set size to calculate.
1090
+ * @returns A Promise that will be resolved with the count; the count can be
1091
+ * retrieved from `snapshot.data().count`, where `snapshot` is the
1092
+ * `AggregateQuerySnapshot` to which the returned Promise resolves.
1093
+ */ declare function bl(t: any): Promise<any>;
984
1094
  /**
985
1095
  * @license
986
1096
  * Copyright 2020 Google LLC
@@ -1008,22 +1118,21 @@ declare function Hh(...t: any[]): zh;
1008
1118
  * @param reference - The reference of the document to fetch.
1009
1119
  * @returns A Promise resolved with a `DocumentSnapshot` containing the
1010
1120
  * current document contents.
1011
- */
1012
- declare function ul(t: any): Promise<Dh>;
1121
+ */ declare function al(t: any): Promise<il>;
1013
1122
  /**
1014
1123
  * Reads the document referred to by this `DocumentReference` from cache.
1015
1124
  * Returns an error if the document is not currently cached.
1016
1125
  *
1017
1126
  * @returns A `Promise` resolved with a `DocumentSnapshot` containing the
1018
1127
  * current document contents.
1019
- */ declare function al(t: any): Promise<Dh>;
1128
+ */ declare function ll(t: any): Promise<il>;
1020
1129
  /**
1021
1130
  * Reads the document referred to by this `DocumentReference` from the server.
1022
1131
  * Returns an error if the network is not available.
1023
1132
  *
1024
1133
  * @returns A `Promise` resolved with a `DocumentSnapshot` containing the
1025
1134
  * current document contents.
1026
- */ declare function hl(t: any): Promise<Dh>;
1135
+ */ declare function fl(t: any): Promise<il>;
1027
1136
  /**
1028
1137
  * Executes the query and returns the results as a `QuerySnapshot`.
1029
1138
  *
@@ -1033,20 +1142,20 @@ declare function ul(t: any): Promise<Dh>;
1033
1142
  * invoke {@link getDocsFromCache} or {@link getDocsFromServer}.
1034
1143
  *
1035
1144
  * @returns A `Promise` that will be resolved with the results of the query.
1036
- */ declare function ll(t: any): Promise<xh>;
1145
+ */ declare function dl(t: any): Promise<ol>;
1037
1146
  /**
1038
1147
  * Executes the query and returns the results as a `QuerySnapshot` from cache.
1039
1148
  * Returns an error if the document is not currently cached.
1040
1149
  *
1041
1150
  * @returns A `Promise` that will be resolved with the results of the query.
1042
- */ declare function fl(t: any): Promise<xh>;
1151
+ */ declare function _l(t: any): Promise<ol>;
1043
1152
  /**
1044
1153
  * Executes the query and returns the results as a `QuerySnapshot` from the
1045
1154
  * server. Returns an error if the network is not available.
1046
1155
  *
1047
1156
  * @returns A `Promise` that will be resolved with the results of the query.
1048
- */ declare function dl(t: any): Promise<xh>;
1049
- declare function Ma(e: any, n: any): import("../src").Firestore;
1157
+ */ declare function wl(t: any): Promise<ol>;
1158
+ declare function La(e: any, n: any): import("../src").Firestore;
1050
1159
  /**
1051
1160
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
1052
1161
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
@@ -1065,25 +1174,25 @@ declare function Ma(e: any, n: any): import("../src").Firestore;
1065
1174
  * @param n - The value to increment by.
1066
1175
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
1067
1176
  * `updateDoc()`
1068
- */ declare function Vl(t: any): dh;
1177
+ */ declare function Ol(t: any): yh;
1069
1178
  /**
1070
1179
  * Initializes a new instance of {@link Firestore} with the provided settings.
1071
1180
  * Can only be called before any other function, including
1072
- * {@link getFirestore}. If the custom settings are empty, this function is
1073
- * equivalent to calling {@link getFirestore}.
1181
+ * {@link (getFirestore:1)}. If the custom settings are empty, this function is
1182
+ * equivalent to calling {@link (getFirestore:1)}.
1074
1183
  *
1075
1184
  * @param app - The {@link @firebase/app#FirebaseApp} with which the {@link Firestore} instance will
1076
1185
  * be associated.
1077
1186
  * @param settings - A settings object to configure the {@link Firestore} instance.
1078
1187
  * @param databaseId - The name of database.
1079
1188
  * @returns A newly initialized {@link Firestore} instance.
1080
- */ declare function ka(t: any, e: any, n: any): import("../src").Firestore;
1189
+ */ declare function Ba(t: any, e: any, n: any): import("../src").Firestore;
1081
1190
  /**
1082
1191
  * Creates a {@link QueryConstraint} that only returns the first matching documents.
1083
1192
  *
1084
1193
  * @param limit - The maximum number of items to return.
1085
1194
  * @returns The created {@link Query}.
1086
- */ declare function Kh(t: any): qh;
1195
+ */ declare function qh(t: any): Uh;
1087
1196
  /**
1088
1197
  * Creates a {@link QueryConstraint} that only returns the last matching documents.
1089
1198
  *
@@ -1092,7 +1201,7 @@ declare function Ma(e: any, n: any): import("../src").Firestore;
1092
1201
  *
1093
1202
  * @param limit - The maximum number of items to return.
1094
1203
  * @returns The created {@link Query}.
1095
- */ declare function Gh(t: any): qh;
1204
+ */ declare function Kh(t: any): Uh;
1096
1205
  /**
1097
1206
  * Loads a Firestore bundle into the local cache.
1098
1207
  *
@@ -1103,7 +1212,7 @@ declare function Ma(e: any, n: any): import("../src").Firestore;
1103
1212
  * @returns A `LoadBundleTask` object, which notifies callers with progress
1104
1213
  * updates, and completion or error events. It can be used as a
1105
1214
  * `Promise<LoadBundleTaskProgress>`.
1106
- */ declare function ja(t: any, e: any): Ca;
1215
+ */ declare function Ya(t: any, e: any): Ma;
1107
1216
  /**
1108
1217
  * Reads a Firestore {@link Query} from local cache, identified by the given
1109
1218
  * name.
@@ -1115,9 +1224,9 @@ declare function Ma(e: any, n: any): import("../src").Firestore;
1115
1224
  * @param firestore - The {@link Firestore} instance to read the query from.
1116
1225
  * @param name - The name of the query.
1117
1226
  * @returns A `Promise` that is resolved with the Query or `null`.
1118
- */ declare function Wa(t: any, e: any): any;
1119
- declare function yl(t: any, ...e: any[]): () => void;
1120
- declare function pl(t: any, e: any): () => void;
1227
+ */ declare function Xa(t: any, e: any): any;
1228
+ declare function Il(t: any, ...e: any[]): () => void;
1229
+ declare function Tl(t: any, e: any): () => void;
1121
1230
  /**
1122
1231
  * Creates a {@link QueryConstraint} that sorts the query result by the
1123
1232
  * specified field, optionally in descending order instead of ascending.
@@ -1126,7 +1235,7 @@ declare function pl(t: any, e: any): () => void;
1126
1235
  * @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
1127
1236
  * not specified, order will be ascending.
1128
1237
  * @returns The created {@link Query}.
1129
- */ declare function Uh(t: any, e?: string): Lh;
1238
+ */ declare function Lh(t: any, e?: string): Bh;
1130
1239
  /**
1131
1240
  * Creates a new immutable instance of {@link Query} that is extended to also include
1132
1241
  * additional query constraints.
@@ -1135,7 +1244,7 @@ declare function pl(t: any, e: any): () => void;
1135
1244
  * @param queryConstraints - The list of {@link QueryConstraint}s to apply.
1136
1245
  * @throws if any of the provided query constraints cannot be combined with the
1137
1246
  * existing or new constraints.
1138
- */ declare function Fh(t: any, ...e: any[]): any;
1247
+ */ declare function Mh(t: any, ...e: any[]): any;
1139
1248
  /**
1140
1249
  * Returns true if the provided queries point to the same collection and apply
1141
1250
  * the same constraints.
@@ -1144,7 +1253,7 @@ declare function pl(t: any, e: any): () => void;
1144
1253
  * @param right - A `Query` to compare.
1145
1254
  * @returns true if the references point to the same location in the same
1146
1255
  * Firestore database.
1147
- */ declare function Va(t: any, e: any): boolean;
1256
+ */ declare function ra(t: any, e: any): boolean;
1148
1257
  /**
1149
1258
  * Returns true if the provided references are equal.
1150
1259
  *
@@ -1152,7 +1261,7 @@ declare function pl(t: any, e: any): () => void;
1152
1261
  * @param right - A reference to compare.
1153
1262
  * @returns true if the references point to the same location in the same
1154
1263
  * Firestore database.
1155
- */ declare function va(t: any, e: any): boolean;
1264
+ */ declare function ia(t: any, e: any): boolean;
1156
1265
  /**
1157
1266
  * Executes the given `updateFunction` and then attempts to commit the changes
1158
1267
  * applied within the transaction. If any document read within the transaction
@@ -1171,12 +1280,12 @@ declare function pl(t: any, e: any): () => void;
1171
1280
  * (the `updateFunction` returned a failed promise), the promise returned by the
1172
1281
  * `updateFunction `is returned here. Otherwise, if the transaction failed, a
1173
1282
  * rejected promise with the corresponding failure error is returned.
1174
- */ declare function Al(t: any, e: any, n: any): Promise<any>;
1283
+ */ declare function Dl(t: any, e: any, n: any): Promise<any>;
1175
1284
  /**
1176
1285
  * Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
1177
1286
  * include a server-generated timestamp in the written data.
1178
- */ declare function bl(): hh;
1179
- declare function _l(t: any, e: any, n: any): Promise<any>;
1287
+ */ declare function xl(): wh;
1288
+ declare function ml(t: any, e: any, n: any): Promise<any>;
1180
1289
  /**
1181
1290
  * @license
1182
1291
  * Copyright 2021 Google LLC
@@ -1192,7 +1301,7 @@ declare function _l(t: any, e: any, n: any): Promise<any>;
1192
1301
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1193
1302
  * See the License for the specific language governing permissions and
1194
1303
  * limitations under the License.
1195
- */ declare function Dl(t: any, e: any): Promise<any>;
1304
+ */ declare function Fl(t: any, e: any): Promise<any>;
1196
1305
  /**
1197
1306
  * Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
1198
1307
  *
@@ -1205,16 +1314,16 @@ declare function _l(t: any, e: any, n: any): Promise<any>;
1205
1314
  * <li>`error` to log errors only.</li>
1206
1315
  * <li><code>`silent` to turn off logging.</li>
1207
1316
  * </ul>
1208
- */ declare function S(t: any): void;
1317
+ */ declare function D(t: any): void;
1209
1318
  /**
1210
1319
  * Returns true if the provided snapshots are equal.
1211
1320
  *
1212
1321
  * @param left - A snapshot to compare.
1213
1322
  * @param right - A snapshot to compare.
1214
1323
  * @returns true if the snapshots are equal.
1215
- */ declare function kh(t: any, e: any): any;
1216
- declare function Wh(...t: any[]): Qh;
1217
- declare function jh(...t: any[]): Qh;
1324
+ */ declare function cl(t: any, e: any): any;
1325
+ declare function jh(...t: any[]): Gh;
1326
+ declare function Qh(...t: any[]): Gh;
1218
1327
  /**
1219
1328
  * Terminates the provided {@link Firestore} instance.
1220
1329
  *
@@ -1222,7 +1331,7 @@ declare function jh(...t: any[]): Qh;
1222
1331
  * may be used. Any other function will throw a `FirestoreError`.
1223
1332
  *
1224
1333
  * To restart after termination, create a new instance of FirebaseFirestore with
1225
- * {@link getFirestore}.
1334
+ * {@link (getFirestore:1)}.
1226
1335
  *
1227
1336
  * Termination does not cancel any pending writes, and any promises that are
1228
1337
  * awaiting a response from the server will not be resolved. If you have
@@ -1236,8 +1345,8 @@ declare function jh(...t: any[]): Qh;
1236
1345
  *
1237
1346
  * @returns A `Promise` that is resolved when the instance has been successfully
1238
1347
  * terminated.
1239
- */ declare function Qa(t: any): any;
1240
- declare function wl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1348
+ */ declare function Ja(t: any): any;
1349
+ declare function gl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1241
1350
  /**
1242
1351
  * Waits until all currently pending writes for the active user have been
1243
1352
  * acknowledged by the backend.
@@ -1253,7 +1362,7 @@ declare function wl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1253
1362
  *
1254
1363
  * @returns A `Promise` which resolves when all currently pending writes have been
1255
1364
  * acknowledged by the backend.
1256
- */ declare function qa(t: any): Promise<any>;
1365
+ */ declare function Wa(t: any): Promise<any>;
1257
1366
  /**
1258
1367
  * Creates a {@link QueryConstraint} that enforces that documents must contain the
1259
1368
  * specified field and that the value should satisfy the relation constraint
@@ -1264,7 +1373,7 @@ declare function wl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1264
1373
  * "&lt;=", "!=").
1265
1374
  * @param value - The value for comparison
1266
1375
  * @returns The created {@link Query}.
1267
- */ declare function Bh(t: any, e: any, n: any): $h;
1376
+ */ declare function $h(t: any, e: any, n: any): Fh;
1268
1377
  /**
1269
1378
  * @license
1270
1379
  * Copyright 2020 Google LLC
@@ -1291,7 +1400,7 @@ declare function wl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1291
1400
  *
1292
1401
  * @returns A {@link WriteBatch} that can be used to atomically execute multiple
1293
1402
  * writes.
1294
- */ declare function Sl(t: any): rl;
1403
+ */ declare function Ml(t: any): vl;
1295
1404
  /**
1296
1405
  * @license
1297
1406
  * Copyright 2020 Google LLC
@@ -1316,7 +1425,7 @@ declare function wl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1316
1425
  * For a `DocumentSnapshot` that points to a non-existing document, any data
1317
1426
  * access will return 'undefined'. You can use the `exists()` method to
1318
1427
  * explicitly verify a document's existence.
1319
- */ declare class Ph {
1428
+ */ declare class Ch {
1320
1429
  /** @hideconstructor protected */
1321
1430
  constructor(t: any, e: any, n: any, s: any, i: any);
1322
1431
  _firestore: any;
@@ -1327,7 +1436,7 @@ declare function wl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1327
1436
  /** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
1328
1437
  /**
1329
1438
  * The `DocumentReference` for the document included in the `DocumentSnapshot`.
1330
- */ get ref(): Ta;
1439
+ */ get ref(): Xc;
1331
1440
  /**
1332
1441
  * Signals whether or not the document at the snapshot's location exists.
1333
1442
  *
@@ -1370,8 +1479,8 @@ declare function wl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1370
1479
  /**
1371
1480
  * The Cloud Firestore service interface.
1372
1481
  *
1373
- * Do not call this constructor directly. Instead, use {@link getFirestore}.
1374
- */ declare class pa {
1482
+ * Do not call this constructor directly. Instead, use {@link (getFirestore:1)}.
1483
+ */ declare class Jc {
1375
1484
  /** @hideconstructor */
1376
1485
  constructor(t: any, e: any, n: any, s: any);
1377
1486
  _authCredentials: any;
@@ -1383,7 +1492,7 @@ declare function wl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1383
1492
  */
1384
1493
  type: string;
1385
1494
  _persistenceKey: string;
1386
- _settings: ya;
1495
+ _settings: Hc;
1387
1496
  _settingsFrozen: boolean;
1388
1497
  /**
1389
1498
  * The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
@@ -1392,14 +1501,14 @@ declare function wl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1392
1501
  get _initialized(): boolean;
1393
1502
  get _terminated(): boolean;
1394
1503
  _setSettings(t: any): void;
1395
- _getSettings(): ya;
1396
- _freezeSettings(): ya;
1504
+ _getSettings(): Hc;
1505
+ _freezeSettings(): Hc;
1397
1506
  _delete(): Promise<void>;
1398
1507
  _terminateTask: Promise<void> | undefined;
1399
1508
  /** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
1400
1509
  app: any;
1401
1510
  databaseId: any;
1402
- settings: ya;
1511
+ settings: Hc;
1403
1512
  };
1404
1513
  /**
1405
1514
  * Terminates all components used by this client. Subclasses can override
@@ -1409,32 +1518,17 @@ declare function wl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1409
1518
  * Only ever called once.
1410
1519
  */ _terminate(): Promise<void>;
1411
1520
  }
1412
- /**
1413
- * @license
1414
- * Copyright 2020 Google LLC
1415
- *
1416
- * Licensed under the Apache License, Version 2.0 (the "License");
1417
- * you may not use this file except in compliance with the License.
1418
- * You may obtain a copy of the License at
1419
- *
1420
- * http://www.apache.org/licenses/LICENSE-2.0
1421
- *
1422
- * Unless required by applicable law or agreed to in writing, software
1423
- * distributed under the License is distributed on an "AS IS" BASIS,
1424
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1425
- * See the License for the specific language governing permissions and
1426
- * limitations under the License.
1427
- */ declare class Sa {
1428
- $c: Promise<void>;
1429
- Bc: any[];
1430
- Lc: boolean;
1431
- Uc: any[];
1432
- qc: any;
1433
- Kc: boolean;
1521
+ declare class ka {
1522
+ Bc: Promise<void>;
1523
+ Lc: any[];
1524
+ Uc: boolean;
1525
+ qc: any[];
1526
+ Kc: any;
1434
1527
  Gc: boolean;
1435
- Qc: any[];
1436
- xo: Zo;
1437
- jc: () => void;
1528
+ Qc: boolean;
1529
+ jc: any[];
1530
+ No: tu;
1531
+ Wc: () => void;
1438
1532
  get isShuttingDown(): boolean;
1439
1533
  /**
1440
1534
  * Adds a new operation to the queue without waiting for it to complete (i.e.
@@ -1447,30 +1541,30 @@ declare function wl(t: any, e: any, n: any, ...s: any[]): Promise<any>;
1447
1541
  /**
1448
1542
  * Runs the next operation from the retryable queue. If the operation fails,
1449
1543
  * reschedules with backoff.
1450
- */ Hc(): Promise<void>;
1451
- zc(t: any): Promise<any>;
1452
- enqueueAfterDelay(t: any, e: any, n: any): ku;
1453
- Wc(): void;
1544
+ */ Jc(): Promise<void>;
1545
+ Hc(t: any): Promise<any>;
1546
+ enqueueAfterDelay(t: any, e: any, n: any): Mu;
1547
+ zc(): void;
1454
1548
  verifyOperationInProgress(): void;
1455
1549
  /**
1456
1550
  * Waits until all currently queued tasks are finished executing. Delayed
1457
1551
  * operations are not run.
1458
- */ Yc(): Promise<void>;
1552
+ */ Xc(): Promise<void>;
1459
1553
  /**
1460
1554
  * For Tests: Determine if a delayed operation with a particular TimerId
1461
1555
  * exists.
1462
- */ Xc(t: any): boolean;
1556
+ */ Zc(t: any): boolean;
1463
1557
  /**
1464
1558
  * For Tests: Runs some or all delayed operations early.
1465
1559
  *
1466
1560
  * @param lastTimerId - Delayed operations up to and including this TimerId
1467
1561
  * will be drained. Pass TimerId.All to run all delayed operations.
1468
1562
  * @returns a Promise that resolves once all operations have been run.
1469
- */ Zc(t: any): Promise<void>;
1563
+ */ ta(t: any): Promise<void>;
1470
1564
  /**
1471
1565
  * For Tests: Skip all subsequent delays for a timer id.
1472
- */ ta(t: any): void;
1473
- /** Called once a DelayedOperation is run or canceled. */ Jc(t: any): void;
1566
+ */ ea(t: any): void;
1567
+ /** Called once a DelayedOperation is run or canceled. */ Yc(t: any): void;
1474
1568
  }
1475
1569
  import { FirebaseError as c } from "@firebase/util/dist/src/errors";
1476
1570
  /**
@@ -1488,7 +1582,7 @@ import { FirebaseError as c } from "@firebase/util/dist/src/errors";
1488
1582
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1489
1583
  * See the License for the specific language governing permissions and
1490
1584
  * limitations under the License.
1491
- */ declare class L {
1585
+ */ declare class U {
1492
1586
  promise: Promise<any>;
1493
1587
  resolve: (value: any) => void;
1494
1588
  reject: (reason?: any) => void;
@@ -1496,14 +1590,14 @@ import { FirebaseError as c } from "@firebase/util/dist/src/errors";
1496
1590
  /**
1497
1591
  * Helper for parsing raw user input (provided via the API) into internal model
1498
1592
  * classes.
1499
- */ declare class rh {
1593
+ */ declare class hh {
1500
1594
  constructor(t: any, e: any, n: any);
1501
1595
  databaseId: any;
1502
1596
  ignoreUndefinedProperties: any;
1503
1597
  It: any;
1504
- /** Creates a new top-level parse context. */ fa(t: any, e: any, n: any, s?: boolean): ih;
1598
+ /** Creates a new top-level parse context. */ da(t: any, e: any, n: any, s?: boolean): ah;
1505
1599
  }
1506
- declare class W {
1600
+ declare class z {
1507
1601
  constructor(t: any);
1508
1602
  value: any;
1509
1603
  type: string;
@@ -1528,7 +1622,7 @@ declare class W {
1528
1622
  /**
1529
1623
  * Path represents an ordered sequence of string segments.
1530
1624
  */
1531
- declare class st {
1625
+ declare class it {
1532
1626
  static comparator(t: any, e: any): 0 | 1 | -1;
1533
1627
  constructor(t: any, e: any, n: any);
1534
1628
  segments: any;
@@ -1549,90 +1643,78 @@ declare class st {
1549
1643
  forEach(t: any): void;
1550
1644
  toArray(): any;
1551
1645
  }
1552
- declare class fh extends Xa {
1646
+ declare class gh extends sh {
1553
1647
  constructor(t: any, e: any);
1554
- da: any;
1555
- _toFieldTransform(t: any): Cn;
1648
+ _a: any;
1649
+ _toFieldTransform(t: any): xn;
1556
1650
  isEqual(t: any): boolean;
1557
1651
  }
1558
- declare class lh extends Xa {
1652
+ declare class mh extends sh {
1559
1653
  constructor(t: any, e: any);
1560
- da: any;
1561
- _toFieldTransform(t: any): Cn;
1654
+ _a: any;
1655
+ _toFieldTransform(t: any): xn;
1562
1656
  isEqual(t: any): boolean;
1563
1657
  }
1564
- declare class ch extends Xa {
1658
+ declare class dh extends sh {
1565
1659
  _toFieldTransform(t: any): null;
1566
1660
  isEqual(t: any): boolean;
1567
1661
  }
1568
- declare class zh extends Oh {
1662
+ declare class Wh extends Oh {
1569
1663
  constructor(t: any, e: any, n: any);
1570
1664
  type: any;
1571
- Ta: any;
1572
1665
  Ea: any;
1573
- _apply(t: any): Ea;
1666
+ Aa: any;
1667
+ _apply(t: any): Zc;
1574
1668
  }
1575
- declare class dh extends Xa {
1669
+ declare class yh extends sh {
1576
1670
  constructor(t: any, e: any);
1577
- _a: any;
1578
- _toFieldTransform(t: any): Cn;
1671
+ wa: any;
1672
+ _toFieldTransform(t: any): xn;
1579
1673
  isEqual(t: any): boolean;
1580
1674
  }
1581
- declare class qh extends Oh {
1675
+ declare class Uh extends Oh {
1582
1676
  constructor(t: any, e: any, n: any);
1583
1677
  type: any;
1584
- pa: any;
1585
1678
  Ia: any;
1586
- _apply(t: any): Ea;
1679
+ Ta: any;
1680
+ _apply(t: any): Zc;
1587
1681
  }
1588
- declare class Lh extends Oh {
1682
+ declare class Bh extends Oh {
1589
1683
  constructor(t: any, e: any);
1590
- wa: any;
1591
- ya: any;
1684
+ ma: any;
1685
+ pa: any;
1592
1686
  type: string;
1593
- _apply(t: any): Ea;
1687
+ _apply(t: any): Zc;
1594
1688
  }
1595
- declare class hh extends Xa {
1596
- _toFieldTransform(t: any): Cn;
1689
+ declare class wh extends sh {
1690
+ _toFieldTransform(t: any): xn;
1597
1691
  isEqual(t: any): boolean;
1598
1692
  }
1599
- declare class Qh extends Oh {
1693
+ declare class Gh extends Oh {
1600
1694
  constructor(t: any, e: any, n: any);
1601
1695
  type: any;
1602
- Ta: any;
1603
1696
  Ea: any;
1604
- _apply(t: any): Ea;
1697
+ Aa: any;
1698
+ _apply(t: any): Zc;
1605
1699
  }
1606
- declare class $h extends Oh {
1700
+ declare class Fh extends Oh {
1607
1701
  constructor(t: any, e: any, n: any);
1608
- wa: any;
1609
1702
  ma: any;
1610
1703
  ga: any;
1704
+ ya: any;
1611
1705
  type: string;
1612
- _apply(t: any): Ea;
1706
+ _apply(t: any): Zc;
1613
1707
  }
1614
1708
  /**
1615
- * @license
1616
- * Copyright 2020 Google LLC
1617
- *
1618
- * Licensed under the Apache License, Version 2.0 (the "License");
1619
- * you may not use this file except in compliance with the License.
1620
- * You may obtain a copy of the License at
1621
- *
1622
- * http://www.apache.org/licenses/LICENSE-2.0
1623
- *
1624
- * Unless required by applicable law or agreed to in writing, software
1625
- * distributed under the License is distributed on an "AS IS" BASIS,
1626
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1627
- * See the License for the specific language governing permissions and
1628
- * limitations under the License.
1709
+ * An instance map that ensures only one Datastore exists per Firestore
1710
+ * instance.
1629
1711
  */
1630
1712
  /**
1631
1713
  * A concrete type describing all the values that can be applied via a
1632
1714
  * user-supplied `FirestoreSettings` object. This is a separate type so that
1633
1715
  * defaults can be supplied and the value can be checked for equality.
1634
1716
  */
1635
- declare class ya {
1717
+ declare class Hc {
1636
1718
  constructor(t: any);
1637
1719
  host: any;
1638
1720
  ssl: any;
@@ -1656,17 +1738,17 @@ declare class ya {
1656
1738
  * base delay. This prevents clients from accidentally synchronizing their
1657
1739
  * delays causing spikes of load to the backend.
1658
1740
  */
1659
- declare class Zo {
1741
+ declare class tu {
1660
1742
  constructor(t: any, e: any, n?: number, s?: number, i?: number);
1661
1743
  Hs: any;
1662
1744
  timerId: any;
1663
- wo: number;
1664
1745
  mo: number;
1665
1746
  yo: number;
1666
1747
  po: number;
1667
- Io: any;
1748
+ Io: number;
1749
+ To: any;
1668
1750
  /** The last backoff attempt, as epoch milliseconds. */
1669
- To: number;
1751
+ Eo: number;
1670
1752
  /**
1671
1753
  * Resets the backoff delay.
1672
1754
  *
@@ -1677,15 +1759,15 @@ declare class Zo {
1677
1759
  /**
1678
1760
  * Resets the backoff delay to the maximum delay (e.g. for use after a
1679
1761
  * RESOURCE_EXHAUSTED error).
1680
- */ Eo(): void;
1762
+ */ Ao(): void;
1681
1763
  /**
1682
1764
  * Returns a promise that resolves after currentDelayMs, and increases the
1683
1765
  * delay for any subsequent attempts. If there was a pending backoff operation
1684
1766
  * already, it will be canceled.
1685
- */ Ao(t: any): void;
1686
- bo(): void;
1767
+ */ Ro(t: any): void;
1768
+ Po(): void;
1687
1769
  cancel(): void;
1688
- /** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ Ro(): number;
1770
+ /** Returns a random value in the range [-currentBaseMs/2, currentBaseMs/2] */ bo(): number;
1689
1771
  }
1690
1772
  /**
1691
1773
  * @license
@@ -1714,7 +1796,7 @@ declare class Zo {
1714
1796
  * in newer versions of TypeScript defines `finally`, which is not available in
1715
1797
  * IE.
1716
1798
  */
1717
- declare class ku {
1799
+ declare class Mu {
1718
1800
  /**
1719
1801
  * Creates and returns a DelayedOperation that has been scheduled to be
1720
1802
  * executed on the provided asyncQueue after the provided delayMs.
@@ -1728,14 +1810,14 @@ declare class ku {
1728
1810
  * from its delayedOperations list.
1729
1811
  * PORTING NOTE: This exists to prevent making removeDelayedOperation() and
1730
1812
  * the DelayedOperation class public.
1731
- */ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): ku;
1813
+ */ static createAndSchedule(t: any, e: any, n: any, s: any, i: any): Mu;
1732
1814
  constructor(t: any, e: any, n: any, s: any, i: any);
1733
1815
  asyncQueue: any;
1734
1816
  timerId: any;
1735
1817
  targetTimeMs: any;
1736
1818
  op: any;
1737
1819
  removalCallback: any;
1738
- deferred: L;
1820
+ deferred: U;
1739
1821
  then: <TResult1 = any, TResult2 = never>(onfulfilled?: ((value: any) => TResult1 | PromiseLike<TResult1>) | null | undefined, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined) => Promise<TResult1 | TResult2>;
1740
1822
  /**
1741
1823
  * Starts the timer. This is called immediately after construction by
@@ -1756,7 +1838,7 @@ declare class ku {
1756
1838
  handleDelayElapsed(): void;
1757
1839
  clearTimeout(): void;
1758
1840
  }
1759
- /** A "context" object passed around while parsing user data. */ declare class ih {
1841
+ /** A "context" object passed around while parsing user data. */ declare class ah {
1760
1842
  /**
1761
1843
  * Initializes a ParseContext with the given source and path.
1762
1844
  *
@@ -1783,15 +1865,15 @@ declare class ku {
1783
1865
  fieldTransforms: any;
1784
1866
  fieldMask: any;
1785
1867
  get path(): any;
1786
- get na(): any;
1787
- /** Returns a new context with the specified settings overwritten. */ sa(t: any): ih;
1788
- ia(t: any): ih;
1789
- ua(t: any): ih;
1790
- ca(t: any): ih;
1791
- aa(t: any): B;
1868
+ get sa(): any;
1869
+ /** Returns a new context with the specified settings overwritten. */ ia(t: any): ah;
1870
+ ra(t: any): ah;
1871
+ ca(t: any): ah;
1872
+ aa(t: any): ah;
1873
+ ha(t: any): L;
1792
1874
  /** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
1793
- ea(): void;
1794
- oa(t: any): void;
1875
+ na(): void;
1876
+ ua(t: any): void;
1795
1877
  }
1796
1878
  /**
1797
1879
  * @license
@@ -1809,9 +1891,9 @@ declare class ku {
1809
1891
  * See the License for the specific language governing permissions and
1810
1892
  * limitations under the License.
1811
1893
  */
1812
- /** A field path and the TransformOperation to perform upon it. */ declare class Cn {
1894
+ /** A field path and the TransformOperation to perform upon it. */ declare class xn {
1813
1895
  constructor(t: any, e: any);
1814
1896
  field: any;
1815
1897
  transform: any;
1816
1898
  }
1817
- export { nl as AbstractUserDataWriter, Ya as Bytes, xa as CACHE_SIZE_UNLIMITED, Aa as CollectionReference, Ta as DocumentReference, Dh as DocumentSnapshot, Ha as FieldPath, Xa as FieldValue, Na as Firestore, B as FirestoreError, Za as GeoPoint, Ca as LoadBundleTask, Ea as Query, Oh as QueryConstraint, Ch as QueryDocumentSnapshot, xh as QuerySnapshot, Sh as SnapshotMetadata, et as Timestamp, El as Transaction, rl as WriteBatch, ee as _DatabaseId, ut as _DocumentKey, H as _EmptyAppCheckTokenProvider, q as _EmptyAuthCredentialsProvider, ot as _FieldPath, ma as _cast, O as _debugAssert, Qt as _isBase64Available, x as _logWarn, fa as _validateIsNotUsedTogether, gl as addDoc, vl as arrayRemove, Pl as arrayUnion, Ua as clearIndexedDbPersistence, Ra as collection, ba as collectionGroup, Ia as connectFirestoreEmulator, ml as deleteDoc, Rl as deleteField, Ga as disableNetwork, Pa as doc, Ja as documentId, $a as enableIndexedDbPersistence, Ba as enableMultiTabIndexedDbPersistence, Ka as enableNetwork, Jh as endAt, Hh as endBefore, Oa as ensureFirestoreConfigured, Il as executeWrite, ul as getDoc, al as getDocFromCache, hl as getDocFromServer, ll as getDocs, fl as getDocsFromCache, dl as getDocsFromServer, Ma as getFirestore, Vl as increment, ka as initializeFirestore, Kh as limit, Gh as limitToLast, ja as loadBundle, Wa as namedQuery, yl as onSnapshot, pl as onSnapshotsInSync, Uh as orderBy, Fh as query, Va as queryEqual, va as refEqual, Al as runTransaction, bl as serverTimestamp, _l as setDoc, Dl as setIndexConfiguration, S as setLogLevel, kh as snapshotEqual, Wh as startAfter, jh as startAt, Qa as terminate, wl as updateDoc, qa as waitForPendingWrites, Bh as where, Sl as writeBatch };
1899
+ export { tl as AbstractUserDataWriter, aa as AggregateField, ha as AggregateQuerySnapshot, th as Bytes, Fa as CACHE_SIZE_UNLIMITED, ta as CollectionReference, Xc as DocumentReference, il as DocumentSnapshot, eh as FieldPath, sh as FieldValue, $a as Firestore, L as FirestoreError, ih as GeoPoint, Ma as LoadBundleTask, Zc as Query, Oh as QueryConstraint, rl as QueryDocumentSnapshot, ol as QuerySnapshot, sl as SnapshotMetadata, nt as Timestamp, Sl as Transaction, vl as WriteBatch, ne as _DatabaseId, ct as _DocumentKey, J as _EmptyAppCheckTokenProvider, K as _EmptyAuthCredentialsProvider, ut as _FieldPath, jc as _cast, F as _debugAssert, jt as _isBase64Available, N as _logWarn, qc as _validateIsNotUsedTogether, pl as addDoc, Rl as aggregateQuerySnapshotEqual, kl as arrayRemove, Nl as arrayUnion, ja as clearIndexedDbPersistence, ea as collection, na as collectionGroup, Yc as connectFirestoreEmulator, yl as deleteDoc, Cl as deleteField, Ha as disableNetwork, sa as doc, nh as documentId, Ka as enableIndexedDbPersistence, Ga as enableMultiTabIndexedDbPersistence, za as enableNetwork, Hh as endAt, zh as endBefore, Ua as ensureFirestoreConfigured, El as executeWrite, bl as getCountFromServer, al as getDoc, ll as getDocFromCache, fl as getDocFromServer, dl as getDocs, _l as getDocsFromCache, wl as getDocsFromServer, La as getFirestore, Ol as increment, Ba as initializeFirestore, qh as limit, Kh as limitToLast, Ya as loadBundle, Xa as namedQuery, Il as onSnapshot, Tl as onSnapshotsInSync, Lh as orderBy, Mh as query, ra as queryEqual, ia as refEqual, Dl as runTransaction, xl as serverTimestamp, ml as setDoc, Fl as setIndexConfiguration, D as setLogLevel, cl as snapshotEqual, jh as startAfter, Qh as startAt, Ja as terminate, gl as updateDoc, Wa as waitForPendingWrites, $h as where, Ml as writeBatch };