@firebase/firestore 3.8.3-canary.c8a6e08b0 → 3.8.3-canary.d5d78cbcf

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.
@@ -33,14 +33,14 @@
33
33
  /**
34
34
  * Represents an aggregation that can be performed by Firestore.
35
35
  */
36
- declare class Ve {
36
+ declare class Vn {
37
37
  /**
38
38
  * Create a new AggregateField<T>
39
39
  * @param _aggregateType Specifies the type of aggregation operation to perform.
40
40
  * @param _internalFieldPath Optionally specifies the field that is aggregated.
41
41
  * @internal
42
42
  */
43
- constructor(t: string | undefined, n: any);
43
+ constructor(t: string | undefined, e: any);
44
44
  _aggregateType: string;
45
45
  _internalFieldPath: any;
46
46
  /** A type string to uniquely identify instances of this class. */
@@ -48,9 +48,9 @@ declare class Ve {
48
48
  }
49
49
  /**
50
50
  * The results of executing an aggregation query.
51
- */ declare class $e {
51
+ */ declare class $n {
52
52
  /** @hideconstructor */
53
- constructor(t: any, n: any, e: any);
53
+ constructor(t: any, e: any, n: any);
54
54
  _userDataWriter: any;
55
55
  _data: any;
56
56
  /** A type string to uniquely identify instances of this class. */
@@ -86,18 +86,18 @@ declare class Ve {
86
86
  */
87
87
  /**
88
88
  * An immutable object representing an array of bytes.
89
- */ declare class Ce {
89
+ */ declare class Cn {
90
90
  /**
91
91
  * Creates a new `Bytes` object from the given Base64 string, converting it to
92
92
  * bytes.
93
93
  *
94
94
  * @param base64 - The Base64 string used to create the `Bytes` object.
95
- */ static fromBase64String(t: any): Ce;
95
+ */ static fromBase64String(t: any): Cn;
96
96
  /**
97
97
  * Creates a new `Bytes` object from the given Uint8Array.
98
98
  *
99
99
  * @param array - The Uint8Array used to create the `Bytes` object.
100
- */ static fromUint8Array(t: any): Ce;
100
+ */ static fromUint8Array(t: any): Cn;
101
101
  /** @hideconstructor */
102
102
  constructor(t: any);
103
103
  _byteString: any;
@@ -126,7 +126,7 @@ declare class Ve {
126
126
  /**
127
127
  * A `CollectionReference` object can be used for adding documents, getting
128
128
  * document references, and querying for documents (using {@link query}).
129
- */ declare class Fe extends Ne {
129
+ */ declare class Fn extends Nn {
130
130
  _path: any;
131
131
  /** The collection's identifier. */ get id(): any;
132
132
  /**
@@ -136,8 +136,8 @@ declare class Ve {
136
136
  /**
137
137
  * A reference to the containing `DocumentReference` if this is a
138
138
  * subcollection. If this isn't a subcollection, the reference is null.
139
- */ get parent(): De | null;
140
- withConverter(t: any): Fe;
139
+ */ get parent(): Dn | null;
140
+ withConverter(t: any): Fn;
141
141
  }
142
142
  /**
143
143
  * @license
@@ -159,9 +159,9 @@ declare class Ve {
159
159
  * A `DocumentReference` refers to a document location in a Firestore database
160
160
  * and can be used to write, read, or listen to the location. The document at
161
161
  * the referenced location may or may not exist.
162
- */ declare class De {
162
+ */ declare class Dn {
163
163
  /** @hideconstructor */
164
- constructor(t: any, n: any, e: any);
164
+ constructor(t: any, e: any, n: any);
165
165
  converter: any;
166
166
  _key: any;
167
167
  /** The type of this Firestore reference. */
@@ -177,8 +177,8 @@ declare class Ve {
177
177
  */ get path(): any;
178
178
  /**
179
179
  * The collection this `DocumentReference` belongs to.
180
- */ get parent(): Fe;
181
- withConverter(t: any): De;
180
+ */ get parent(): Fn;
181
+ withConverter(t: any): Dn;
182
182
  }
183
183
  /**
184
184
  * @license
@@ -206,7 +206,7 @@ declare class Ve {
206
206
  * explicitly verify a document's existence.
207
207
  */ declare class mr {
208
208
  /** @hideconstructor protected */
209
- constructor(t: any, n: any, e: any, r: any, s: any);
209
+ constructor(t: any, e: any, n: any, r: any, s: any);
210
210
  _firestore: any;
211
211
  _userDataWriter: any;
212
212
  _key: any;
@@ -215,7 +215,7 @@ declare class Ve {
215
215
  /** Property of the `DocumentSnapshot` that provides the document's ID. */ get id(): any;
216
216
  /**
217
217
  * The `DocumentReference` for the document included in the `DocumentSnapshot`.
218
- */ get ref(): De;
218
+ */ get ref(): Dn;
219
219
  /**
220
220
  * Signals whether or not the document at the snapshot's location exists.
221
221
  *
@@ -262,7 +262,7 @@ declare class Ve {
262
262
  *
263
263
  * Create a `FieldPath` by providing field names. If more than one field
264
264
  * name is provided, the path will point to a nested field in a document.
265
- */ declare class Le {
265
+ */ declare class Ln {
266
266
  /**
267
267
  * Creates a `FieldPath` from the provided field names. If more than one field
268
268
  * name is provided, the path will point to a nested field in a document.
@@ -270,7 +270,7 @@ declare class Ve {
270
270
  * @param fieldNames - A list of field names.
271
271
  */
272
272
  constructor(...t: any[]);
273
- _internalPath: et;
273
+ _internalPath: nt;
274
274
  /**
275
275
  * Returns true if this `FieldPath` is equal to the provided one.
276
276
  *
@@ -297,7 +297,7 @@ declare class Ve {
297
297
  /**
298
298
  * Sentinel values that can be used when writing document fields with `set()`
299
299
  * or `update()`.
300
- */ declare class Ue {
300
+ */ declare class Un {
301
301
  /**
302
302
  * @param _methodName - The public API endpoint that returns this class.
303
303
  * @hideconstructor
@@ -325,9 +325,9 @@ declare class Ve {
325
325
  * The Cloud Firestore service interface.
326
326
  *
327
327
  * Do not call this constructor directly. Instead, use {@link (getFirestore:1)}.
328
- */ declare class Ae {
328
+ */ declare class An {
329
329
  /** @hideconstructor */
330
- constructor(t: any, n: any, e: any, r: any);
330
+ constructor(t: any, e: any, n: any, r: any);
331
331
  _authCredentials: any;
332
332
  _appCheckCredentials: any;
333
333
  _databaseId: any;
@@ -337,7 +337,7 @@ declare class Ve {
337
337
  */
338
338
  type: string;
339
339
  _persistenceKey: string;
340
- _settings: Ee;
340
+ _settings: En;
341
341
  _settingsFrozen: boolean;
342
342
  /**
343
343
  * The {@link @firebase/app#FirebaseApp} associated with this `Firestore` service
@@ -346,14 +346,14 @@ declare class Ve {
346
346
  get _initialized(): boolean;
347
347
  get _terminated(): boolean;
348
348
  _setSettings(t: any): void;
349
- _getSettings(): Ee;
350
- _freezeSettings(): Ee;
349
+ _getSettings(): En;
350
+ _freezeSettings(): En;
351
351
  _delete(): Promise<void>;
352
352
  _terminateTask: Promise<void> | undefined;
353
353
  /** Returns a JSON-serializable representation of this `Firestore` instance. */ toJSON(): {
354
354
  app: any;
355
355
  databaseId: any;
356
- settings: Ee;
356
+ settings: En;
357
357
  };
358
358
  /**
359
359
  * Terminates all components used by this client. Subclasses can override
@@ -365,7 +365,7 @@ declare class Ve {
365
365
  }
366
366
  /** An error returned by a Firestore operation. */ declare class U extends c {
367
367
  /** @hideconstructor */
368
- constructor(t: any, n: any);
368
+ constructor(t: any, e: any);
369
369
  code: any;
370
370
  message: any;
371
371
  }
@@ -391,14 +391,14 @@ declare class Ve {
391
391
  *
392
392
  * Latitude values are in the range of [-90, 90].
393
393
  * Longitude values are in the range of [-180, 180].
394
- */ declare class je {
394
+ */ declare class jn {
395
395
  /**
396
396
  * Creates a new immutable `GeoPoint` object with the provided latitude and
397
397
  * longitude values.
398
398
  * @param latitude - The latitude as number between -90 and 90.
399
399
  * @param longitude - The longitude as number between -180 and 180.
400
400
  */
401
- constructor(t: any, n: any);
401
+ constructor(t: any, e: any);
402
402
  _lat: any;
403
403
  _long: any;
404
404
  /**
@@ -425,15 +425,15 @@ declare class Ve {
425
425
  /**
426
426
  * A `Query` refers to a query which you can read or listen to. You can also
427
427
  * construct refined `Query` objects by adding filters and ordering.
428
- */ declare class Ne {
428
+ */ declare class Nn {
429
429
  /** @hideconstructor protected */
430
- constructor(t: any, n: any, e: any);
430
+ constructor(t: any, e: any, n: any);
431
431
  converter: any;
432
432
  _query: any;
433
433
  /** The type of this Firestore reference. */
434
434
  type: string;
435
435
  firestore: any;
436
- withConverter(t: any): Ne;
436
+ withConverter(t: any): Nn;
437
437
  }
438
438
  /**
439
439
  * A `QueryCompositeFilterConstraint` is used to narrow the set of documents
@@ -444,11 +444,11 @@ declare class Ve {
444
444
  * instance that also contains the `QueryCompositeFilterConstraint`.
445
445
  * @internal TODO remove this internal tag with OR Query support in the server
446
446
  */ declare class Tr extends vr {
447
- static _create(t: any, n: any): Tr;
447
+ static _create(t: any, e: any): Tr;
448
448
  /**
449
449
  * @internal
450
450
  */
451
- constructor(t: any, n: any);
451
+ constructor(t: any, e: any);
452
452
  type: any;
453
453
  _queryConstraints: any;
454
454
  _parse(t: any): any;
@@ -484,15 +484,15 @@ declare class Ve {
484
484
  * {@link (endBefore:1)} and can then be passed to {@link query} to create a new
485
485
  * query instance that also contains this `QueryEndAtConstraint`.
486
486
  */ declare class Or extends br {
487
- static _create(t: any, n: any, e: any): Or;
487
+ static _create(t: any, e: any, n: any): Or;
488
488
  /**
489
489
  * @internal
490
490
  */
491
- constructor(t: any, n: any, e: any);
491
+ constructor(t: any, e: any, n: any);
492
492
  type: any;
493
493
  _docOrFields: any;
494
494
  _inclusive: any;
495
- _apply(t: any): Ne;
495
+ _apply(t: any): Nn;
496
496
  }
497
497
  /**
498
498
  * A `QueryFieldFilterConstraint` is used to narrow the set of documents returned by
@@ -501,18 +501,18 @@ declare class Ve {
501
501
  * be passed to {@link query} to create a new query instance that also contains
502
502
  * this `QueryFieldFilterConstraint`.
503
503
  */ declare class Ar extends br {
504
- static _create(t: any, n: any, e: any): Ar;
504
+ static _create(t: any, e: any, n: any): Ar;
505
505
  /**
506
506
  * @internal
507
507
  */
508
- constructor(t: any, n: any, e: any);
508
+ constructor(t: any, e: any, n: any);
509
509
  _field: any;
510
510
  _op: any;
511
511
  _value: any;
512
512
  /** The type of this query constraint */
513
513
  type: string;
514
- _apply(t: any): Ne;
515
- _parse(t: any): Zt | nn | cn;
514
+ _apply(t: any): Nn;
515
+ _parse(t: any): Zt | ee | ue;
516
516
  }
517
517
  /**
518
518
  * A `QueryLimitConstraint` is used to limit the number of documents returned by
@@ -521,15 +521,15 @@ declare class Ve {
521
521
  * {@link limitToLast} and can then be passed to {@link query} to create a new
522
522
  * query instance that also contains this `QueryLimitConstraint`.
523
523
  */ declare class Dr extends br {
524
- static _create(t: any, n: any, e: any): Dr;
524
+ static _create(t: any, e: any, n: any): Dr;
525
525
  /**
526
526
  * @internal
527
527
  */
528
- constructor(t: any, n: any, e: any);
528
+ constructor(t: any, e: any, n: any);
529
529
  type: any;
530
530
  _limit: any;
531
531
  _limitType: any;
532
- _apply(t: any): Ne;
532
+ _apply(t: any): Nn;
533
533
  }
534
534
  /**
535
535
  * A `QueryOrderByConstraint` is used to sort the set of documents returned by a
@@ -540,16 +540,16 @@ declare class Ve {
540
540
  * Note: Documents that do not contain the orderBy field will not be present in
541
541
  * the query result.
542
542
  */ declare class Vr extends br {
543
- static _create(t: any, n: any): Vr;
543
+ static _create(t: any, e: any): Vr;
544
544
  /**
545
545
  * @internal
546
546
  */
547
- constructor(t: any, n: any);
547
+ constructor(t: any, e: any);
548
548
  _field: any;
549
549
  _direction: any;
550
550
  /** The type of this query constraint */
551
551
  type: string;
552
- _apply(t: any): Ne;
552
+ _apply(t: any): Nn;
553
553
  }
554
554
  /**
555
555
  * A `QuerySnapshot` contains zero or more `DocumentSnapshot` objects
@@ -559,7 +559,7 @@ declare class Ve {
559
559
  * properties.
560
560
  */ declare class yr {
561
561
  /** @hideconstructor */
562
- constructor(t: any, n: any);
562
+ constructor(t: any, e: any);
563
563
  _docs: any;
564
564
  query: any;
565
565
  /** An array of all the documents in the `QuerySnapshot`. */ get docs(): any[];
@@ -571,7 +571,7 @@ declare class Ve {
571
571
  * @param callback - A callback to be called with a `QueryDocumentSnapshot` for
572
572
  * each document in the snapshot.
573
573
  * @param thisArg - The `this` binding for the callback.
574
- */ forEach(t: any, n: any): void;
574
+ */ forEach(t: any, e: any): void;
575
575
  }
576
576
  /**
577
577
  * A `QueryStartAtConstraint` is used to exclude documents from the start of a
@@ -580,15 +580,15 @@ declare class Ve {
580
580
  * {@link (startAfter:1)} and can then be passed to {@link query} to create a
581
581
  * new query instance that also contains this `QueryStartAtConstraint`.
582
582
  */ declare class xr extends br {
583
- static _create(t: any, n: any, e: any): xr;
583
+ static _create(t: any, e: any, n: any): xr;
584
584
  /**
585
585
  * @internal
586
586
  */
587
- constructor(t: any, n: any, e: any);
587
+ constructor(t: any, e: any, n: any);
588
588
  type: any;
589
589
  _docOrFields: any;
590
590
  _inclusive: any;
591
- _apply(t: any): Ne;
591
+ _apply(t: any): Nn;
592
592
  }
593
593
  /**
594
594
  * @license
@@ -652,7 +652,7 @@ declare class Ft {
652
652
  * non-negative nanoseconds values that count forward in time. Must be
653
653
  * from 0 to 999,999,999 inclusive.
654
654
  */
655
- constructor(t: any, n: any);
655
+ constructor(t: any, e: any);
656
656
  seconds: any;
657
657
  nanoseconds: any;
658
658
  /**
@@ -689,18 +689,18 @@ declare class Ft {
689
689
  }
690
690
  declare class vs {
691
691
  /** @hideconstructor */
692
- constructor(t: any, n: any);
692
+ constructor(t: any, e: any);
693
693
  _firestore: any;
694
694
  _transaction: any;
695
- _dataReader: Ke;
695
+ _dataReader: Kn;
696
696
  /**
697
697
  * Reads the document referenced by the provided {@link DocumentReference}.
698
698
  *
699
699
  * @param documentRef - A reference to the document to be read.
700
700
  * @returns A `DocumentSnapshot` with the read data.
701
701
  */ get(t: any): any;
702
- set(t: any, n: any, e: any): vs;
703
- update(t: any, n: any, e: any, ...r: any[]): vs;
702
+ set(t: any, e: any, n: any): vs;
703
+ update(t: any, e: any, n: any, ...r: any[]): vs;
704
704
  /**
705
705
  * Deletes the document referred to by the provided {@link DocumentReference}.
706
706
  *
@@ -733,14 +733,14 @@ declare class vs {
733
733
  * called.
734
734
  */ declare class ls {
735
735
  /** @hideconstructor */
736
- constructor(t: any, n: any);
736
+ constructor(t: any, e: any);
737
737
  _firestore: any;
738
738
  _commitHandler: any;
739
739
  _mutations: any[];
740
740
  _committed: boolean;
741
- _dataReader: Ke;
742
- set(t: any, n: any, e: any): ls;
743
- update(t: any, n: any, e: any, ...r: any[]): ls;
741
+ _dataReader: Kn;
742
+ set(t: any, e: any, n: any): ls;
743
+ update(t: any, e: any, n: any, ...r: any[]): ls;
744
744
  /**
745
745
  * Deletes the document referred to by the provided {@link DocumentReference}.
746
746
  *
@@ -775,14 +775,14 @@ declare class vs {
775
775
  * @throws Error - If the provided input is not a valid Firestore document.
776
776
  * @returns A `Promise` resolved with a `DocumentReference` pointing to the
777
777
  * newly created document after it has been written to the backend.
778
- */ declare function Jr(t: any, n: any): Promise<De>;
778
+ */ declare function Jr(t: any, e: any): Promise<Dn>;
779
779
  /**
780
780
  * Compares two 'AggregateField` instances for equality.
781
781
  *
782
782
  * @param left Compare this AggregateField to the `right`.
783
783
  * @param right Compare this AggregateField to the `left`.
784
784
  * @internal TODO (sum/avg) remove when public
785
- */ declare function ss(t: any, n: any): boolean;
785
+ */ declare function ss(t: any, e: any): boolean;
786
786
  /**
787
787
  * Compares two `AggregateQuerySnapshot` instances for equality.
788
788
  *
@@ -794,7 +794,7 @@ declare class vs {
794
794
  *
795
795
  * @returns `true` if the objects are "equal", as defined above, or `false`
796
796
  * otherwise.
797
- */ declare function is(t: any, n: any): boolean;
797
+ */ declare function is(t: any, e: any): boolean;
798
798
  /**
799
799
  * Creates a new {@link QueryCompositeFilterConstraint} that is a conjunction of
800
800
  * the given filter constraints. A conjunction filter includes a document if it
@@ -816,7 +816,7 @@ declare class vs {
816
816
  * @param elements - The elements to remove from the array.
817
817
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
818
818
  * `updateDoc()`
819
- */ declare function as(...t: any[]): nr;
819
+ */ declare function as(...t: any[]): er;
820
820
  /**
821
821
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
822
822
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to union the given elements with any array
@@ -834,8 +834,8 @@ declare class vs {
834
834
  * a specified field over a range of documents in the result set of a query.
835
835
  * @param field Specifies the field to average across the result set.
836
836
  * @internal TODO (sum/avg) remove when public
837
- */ declare function es(t: any): Ve;
838
- declare function xe(t: any, n: any, ...e: any[]): Fe;
837
+ */ declare function ns(t: any): Vn;
838
+ declare function xn(t: any, e: any, ...n: any[]): Fn;
839
839
  /**
840
840
  * Creates and returns a new `Query` instance that includes all documents in the
841
841
  * database that are contained in a collection or subcollection with the
@@ -846,7 +846,7 @@ declare function xe(t: any, n: any, ...e: any[]): Fe;
846
846
  * collection or subcollection with this ID as the last segment of its path
847
847
  * will be included. Cannot contain a slash.
848
848
  * @returns The created `Query`.
849
- */ declare function Se(t: any, n: any): Ne;
849
+ */ declare function Sn(t: any, e: any): Nn;
850
850
  /**
851
851
  * Modify this instance to communicate with the Cloud Firestore emulator.
852
852
  *
@@ -859,12 +859,12 @@ declare function xe(t: any, n: any, ...e: any[]): Fe;
859
859
  * @param port - the emulator port (ex: 9000).
860
860
  * @param options.mockUserToken - the mock auth token to use for unit testing
861
861
  * Security Rules.
862
- */ declare function Re(t: any, n: any, e: any, r?: {}): void;
862
+ */ declare function Rn(t: any, e: any, n: any, r?: {}): void;
863
863
  /**
864
864
  * Create an AggregateField object that can be used to compute the count of
865
865
  * documents in the result set of a query.
866
866
  * @internal TODO (sum/avg) remove when public
867
- */ declare function rs(): Ve;
867
+ */ declare function rs(): Vn;
868
868
  /**
869
869
  * Deletes the document referred to by the specified `DocumentReference`.
870
870
  *
@@ -896,12 +896,12 @@ declare function xe(t: any, n: any, ...e: any[]): Fe;
896
896
  /**
897
897
  * Returns a sentinel for use with {@link @firebase/firestore/lite#(updateDoc:1)} or
898
898
  * {@link @firebase/firestore/lite#(setDoc:1)} with `{merge: true}` to mark a field for deletion.
899
- */ declare function os(): Ze;
900
- declare function qe(t: any, n: any, ...e: any[]): De;
899
+ */ declare function os(): Zn;
900
+ declare function qn(t: any, e: any, ...n: any[]): Dn;
901
901
  /**
902
902
  * Returns a special sentinel `FieldPath` to refer to the ID of a document.
903
903
  * It can be used in queries to sort or filter by the document ID.
904
- */ declare function Me(): Le;
904
+ */ declare function Mn(): Ln;
905
905
  declare function Cr(...t: any[]): Or;
906
906
  declare function kr(...t: any[]): Or;
907
907
  /**
@@ -930,7 +930,7 @@ declare function kr(...t: any[]): Or;
930
930
  * const averageScore: number | null = aggregateSnapshot.data().averageScore;
931
931
  * ```
932
932
  * @internal TODO (sum/avg) remove when public
933
- */ declare function ts(t: any, n: any): Promise<$e>;
933
+ */ declare function ts(t: any, e: any): Promise<$n>;
934
934
  /**
935
935
  * @license
936
936
  * Copyright 2022 Google LLC
@@ -960,7 +960,7 @@ declare function kr(...t: any[]): Or;
960
960
  * @returns A Promise that will be resolved with the count; the count can be
961
961
  * retrieved from `snapshot.data().count`, where `snapshot` is the
962
962
  * `AggregateQuerySnapshot` to which the returned Promise resolves.
963
- */ declare function Xr(t: any): Promise<$e>;
963
+ */ declare function Xr(t: any): Promise<$n>;
964
964
  /**
965
965
  * Reads the document referred to by the specified document reference.
966
966
  *
@@ -986,7 +986,7 @@ declare function kr(...t: any[]): Or;
986
986
  * @param query - The `Query` to execute.
987
987
  * @returns A Promise that will be resolved with the results of the query.
988
988
  */ declare function Kr(t: any): Promise<yr>;
989
- declare function Te(n: any, e: any): import("../../lite").Firestore;
989
+ declare function Tn(e: any, n: any): import("../../lite").Firestore;
990
990
  /**
991
991
  * Returns a special value that can be used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link
992
992
  * @firebase/firestore/lite#(updateDoc:1)} that tells the server to increment the field's current value by
@@ -1005,8 +1005,8 @@ declare function Te(n: any, e: any): import("../../lite").Firestore;
1005
1005
  * @param n - The value to increment by.
1006
1006
  * @returns The `FieldValue` sentinel for use in a call to `setDoc()` or
1007
1007
  * `updateDoc()`
1008
- */ declare function hs(t: any): er;
1009
- declare function Ie(t: any, n: any, e: any): import("../../lite").Firestore;
1008
+ */ declare function hs(t: any): nr;
1009
+ declare function In(t: any, e: any, n: any): import("../../lite").Firestore;
1010
1010
  /**
1011
1011
  * Creates a {@link QueryLimitConstraint} that only returns the first matching
1012
1012
  * documents.
@@ -1046,8 +1046,8 @@ declare function Ie(t: any, n: any, e: any): import("../../lite").Firestore;
1046
1046
  * @param directionStr - Optional direction to sort by ('asc' or 'desc'). If
1047
1047
  * not specified, order will be ascending.
1048
1048
  * @returns The created {@link QueryOrderByConstraint}.
1049
- */ declare function $r(t: any, n?: string): Vr;
1050
- declare function Er(t: any, n: any, ...e: any[]): any;
1049
+ */ declare function $r(t: any, e?: string): Vr;
1050
+ declare function Er(t: any, e: any, ...n: any[]): any;
1051
1051
  /**
1052
1052
  * Returns true if the provided queries point to the same collection and apply
1053
1053
  * the same constraints.
@@ -1056,7 +1056,7 @@ declare function Er(t: any, n: any, ...e: any[]): any;
1056
1056
  * @param right - A `Query` to compare.
1057
1057
  * @returns true if the references point to the same location in the same
1058
1058
  * Firestore database.
1059
- */ declare function ke(t: any, n: any): boolean;
1059
+ */ declare function kn(t: any, e: any): boolean;
1060
1060
  /**
1061
1061
  * Returns true if the provided references are equal.
1062
1062
  *
@@ -1064,7 +1064,7 @@ declare function Er(t: any, n: any, ...e: any[]): any;
1064
1064
  * @param right - A reference to compare.
1065
1065
  * @returns true if the references point to the same location in the same
1066
1066
  * Firestore database.
1067
- */ declare function Oe(t: any, n: any): boolean;
1067
+ */ declare function On(t: any, e: any): boolean;
1068
1068
  /**
1069
1069
  * Executes the given `updateFunction` and then attempts to commit the changes
1070
1070
  * applied within the transaction. If any document read within the transaction
@@ -1083,12 +1083,12 @@ declare function Er(t: any, n: any, ...e: any[]): any;
1083
1083
  * (the `updateFunction` returned a failed promise), the promise returned by the
1084
1084
  * `updateFunction `is returned here. Otherwise, if the transaction failed, a
1085
1085
  * rejected promise with the corresponding failure error is returned.
1086
- */ declare function bs(t: any, n: any, e: any): Promise<any>;
1086
+ */ declare function bs(t: any, e: any, n: any): Promise<any>;
1087
1087
  /**
1088
1088
  * Returns a sentinel used with {@link @firebase/firestore/lite#(setDoc:1)} or {@link @firebase/firestore/lite#(updateDoc:1)} to
1089
1089
  * include a server-generated timestamp in the written data.
1090
- */ declare function us(): Xe;
1091
- declare function Yr(t: any, n: any, e: any): Promise<void>;
1090
+ */ declare function us(): Xn;
1091
+ declare function Yr(t: any, e: any, n: any): Promise<void>;
1092
1092
  /**
1093
1093
  * Sets the verbosity of Cloud Firestore logs (debug, error, or silent).
1094
1094
  *
@@ -1108,10 +1108,10 @@ declare function Yr(t: any, n: any, e: any): Promise<void>;
1108
1108
  * @param left - A snapshot to compare.
1109
1109
  * @param right - A snapshot to compare.
1110
1110
  * @returns true if the snapshots are equal.
1111
- */ declare function gr(t: any, n: any): any;
1111
+ */ declare function gr(t: any, e: any): any;
1112
1112
  declare function qr(...t: any[]): xr;
1113
1113
  declare function Sr(...t: any[]): xr;
1114
- declare function ns(t: any): Ve;
1114
+ declare function es(t: any): Vn;
1115
1115
  /**
1116
1116
  * Terminates the provided `Firestore` instance.
1117
1117
  *
@@ -1131,8 +1131,8 @@ declare function ns(t: any): Ve;
1131
1131
  * @param firestore - The `Firestore` instance to terminate.
1132
1132
  * @returns A `Promise` that is resolved when the instance has been successfully
1133
1133
  * terminated.
1134
- */ declare function Pe(t: any): any;
1135
- declare function Hr(t: any, n: any, e: any, ...r: any[]): Promise<void>;
1134
+ */ declare function Pn(t: any): any;
1135
+ declare function Hr(t: any, e: any, n: any, ...r: any[]): Promise<void>;
1136
1136
  /**
1137
1137
  * Creates a {@link QueryFieldFilterConstraint} that enforces that documents
1138
1138
  * must contain the specified field and that the value should satisfy the
@@ -1143,7 +1143,7 @@ declare function Hr(t: any, n: any, e: any, ...r: any[]): Promise<void>;
1143
1143
  * "&lt;=", "!=").
1144
1144
  * @param value - The value for comparison
1145
1145
  * @returns The created {@link QueryFieldFilterConstraint}.
1146
- */ declare function Ir(t: any, n: any, e: any): Ar;
1146
+ */ declare function Ir(t: any, e: any, n: any): Ar;
1147
1147
  /**
1148
1148
  * Creates a write batch, used for performing multiple writes as a single
1149
1149
  * atomic operation. The maximum number of writes allowed in a single WriteBatch
@@ -1160,14 +1160,14 @@ declare function Hr(t: any, n: any, e: any, ...r: any[]): Promise<void>;
1160
1160
  /**
1161
1161
  * A dot-separated path for navigating sub-objects within a document.
1162
1162
  * @internal
1163
- */ declare class et extends X {
1163
+ */ declare class nt extends X {
1164
1164
  /**
1165
1165
  * Returns true if the string could be used as a segment in a field path
1166
1166
  * without escaping.
1167
1167
  */ static isValidIdentifier(t: any): boolean;
1168
1168
  /**
1169
1169
  * The field designating the key of a document.
1170
- */ static keyField(): et;
1170
+ */ static keyField(): nt;
1171
1171
  /**
1172
1172
  * Parses a field string from the given server-formatted string.
1173
1173
  *
@@ -1177,9 +1177,9 @@ declare function Hr(t: any, n: any, e: any, ...r: any[]): Promise<void>;
1177
1177
  *
1178
1178
  * TODO(b/37244157): we should make this more strict. Right now, it allows
1179
1179
  * non-identifier path components, even if they aren't escaped.
1180
- */ static fromServerFormat(t: any): et;
1181
- static emptyPath(): et;
1182
- construct(t: any, n: any, e: any): et;
1180
+ */ static fromServerFormat(t: any): nt;
1181
+ static emptyPath(): nt;
1182
+ construct(t: any, e: any, n: any): nt;
1183
1183
  canonicalString(): any;
1184
1184
  toString(): any;
1185
1185
  /**
@@ -1195,7 +1195,7 @@ declare function Hr(t: any, n: any, e: any, ...r: any[]): Promise<void>;
1195
1195
  * user-supplied `FirestoreSettings` object. This is a separate type so that
1196
1196
  * defaults can be supplied and the value can be checked for equality.
1197
1197
  */
1198
- declare class Ee {
1198
+ declare class En {
1199
1199
  constructor(t: any);
1200
1200
  host: any;
1201
1201
  ssl: any;
@@ -1233,9 +1233,9 @@ declare class vr {
1233
1233
  declare class Zt extends Ht {
1234
1234
  /**
1235
1235
  * Creates a filter based on the provided arguments.
1236
- */ static create(t: any, n: any, e: any): Zt | nn | cn;
1237
- static createKeyFieldInFilter(t: any, n: any, e: any): nn | en;
1238
- constructor(t: any, n: any, e: any);
1236
+ */ static create(t: any, e: any, n: any): Zt | ee | ue;
1237
+ static createKeyFieldInFilter(t: any, e: any, n: any): ee | ne;
1238
+ constructor(t: any, e: any, n: any);
1239
1239
  field: any;
1240
1240
  op: any;
1241
1241
  value: any;
@@ -1246,57 +1246,57 @@ declare class Zt extends Ht {
1246
1246
  getFilters(): Zt[];
1247
1247
  getFirstInequalityField(): any;
1248
1248
  }
1249
- /** Filter that matches on key fields within an array. */ declare class nn extends Zt {
1250
- constructor(t: any, n: any);
1249
+ /** Filter that matches on key fields within an array. */ declare class ee extends Zt {
1250
+ constructor(t: any, e: any);
1251
1251
  keys: any;
1252
1252
  matches(t: any): any;
1253
1253
  }
1254
- /** A Filter that implements the array-contains-any operator. */ declare class cn extends Zt {
1255
- constructor(t: any, n: any);
1254
+ /** A Filter that implements the array-contains-any operator. */ declare class ue extends Zt {
1255
+ constructor(t: any, e: any);
1256
1256
  matches(t: any): any;
1257
1257
  }
1258
1258
  /**
1259
1259
  * Helper for parsing raw user input (provided via the API) into internal model
1260
1260
  * classes.
1261
- */ declare class Ke {
1262
- constructor(t: any, n: any, e: any);
1261
+ */ declare class Kn {
1262
+ constructor(t: any, e: any, n: any);
1263
1263
  databaseId: any;
1264
1264
  ignoreUndefinedProperties: any;
1265
1265
  M: any;
1266
- /** Creates a new top-level parse context. */ wt(t: any, n: any, e: any, r?: boolean): Ge;
1266
+ /** Creates a new top-level parse context. */ wt(t: any, e: any, n: any, r?: boolean): Gn;
1267
1267
  }
1268
- declare class nr extends Ue {
1269
- constructor(t: any, n: any);
1268
+ declare class er extends Un {
1269
+ constructor(t: any, e: any);
1270
1270
  yt: any;
1271
- _toFieldTransform(t: any): On;
1271
+ _toFieldTransform(t: any): qe;
1272
1272
  isEqual(t: any): boolean;
1273
1273
  }
1274
- declare class tr extends Ue {
1275
- constructor(t: any, n: any);
1274
+ declare class tr extends Un {
1275
+ constructor(t: any, e: any);
1276
1276
  yt: any;
1277
- _toFieldTransform(t: any): On;
1277
+ _toFieldTransform(t: any): qe;
1278
1278
  isEqual(t: any): boolean;
1279
1279
  }
1280
- declare class Ze extends Ue {
1280
+ declare class Zn extends Un {
1281
1281
  _toFieldTransform(t: any): null;
1282
1282
  isEqual(t: any): boolean;
1283
1283
  }
1284
- declare class er extends Ue {
1285
- constructor(t: any, n: any);
1284
+ declare class nr extends Un {
1285
+ constructor(t: any, e: any);
1286
1286
  gt: any;
1287
- _toFieldTransform(t: any): On;
1287
+ _toFieldTransform(t: any): qe;
1288
1288
  isEqual(t: any): boolean;
1289
1289
  }
1290
- declare class Xe extends Ue {
1291
- _toFieldTransform(t: any): On;
1290
+ declare class Xn extends Un {
1291
+ _toFieldTransform(t: any): qe;
1292
1292
  isEqual(t: any): boolean;
1293
1293
  }
1294
1294
  /**
1295
1295
  * Path represents an ordered sequence of string segments.
1296
1296
  */
1297
1297
  declare class X {
1298
- static comparator(t: any, n: any): 0 | 1 | -1;
1299
- constructor(t: any, n: any, e: any);
1298
+ static comparator(t: any, e: any): 0 | 1 | -1;
1299
+ constructor(t: any, e: any, n: any);
1300
1300
  segments: any;
1301
1301
  offset: any;
1302
1302
  len: any;
@@ -1332,12 +1332,12 @@ declare class X {
1332
1332
  * limitations under the License.
1333
1333
  */ declare class Ht {
1334
1334
  }
1335
- /** Filter that matches on key fields not present within an array. */ declare class en extends Zt {
1336
- constructor(t: any, n: any);
1335
+ /** Filter that matches on key fields not present within an array. */ declare class ne extends Zt {
1336
+ constructor(t: any, e: any);
1337
1337
  keys: any;
1338
1338
  matches(t: any): boolean;
1339
1339
  }
1340
- /** A "context" object passed around while parsing user data. */ declare class Ge {
1340
+ /** A "context" object passed around while parsing user data. */ declare class Gn {
1341
1341
  /**
1342
1342
  * Initializes a ParseContext with the given source and path.
1343
1343
  *
@@ -1356,7 +1356,7 @@ declare class X {
1356
1356
  * which case certain features will not work and errors will be somewhat
1357
1357
  * compromised).
1358
1358
  */
1359
- constructor(t: any, n: any, e: any, r: any, s: any, i: any);
1359
+ constructor(t: any, e: any, n: any, r: any, s: any, i: any);
1360
1360
  settings: any;
1361
1361
  databaseId: any;
1362
1362
  M: any;
@@ -1365,10 +1365,10 @@ declare class X {
1365
1365
  fieldMask: any;
1366
1366
  get path(): any;
1367
1367
  get st(): any;
1368
- /** Returns a new context with the specified settings overwritten. */ it(t: any): Ge;
1369
- ot(t: any): Ge;
1370
- at(t: any): Ge;
1371
- ht(t: any): Ge;
1368
+ /** Returns a new context with the specified settings overwritten. */ it(t: any): Gn;
1369
+ ot(t: any): Gn;
1370
+ at(t: any): Gn;
1371
+ ht(t: any): Gn;
1372
1372
  lt(t: any): U;
1373
1373
  /** Returns 'true' if 'fieldPath' was traversed when creating this context. */ contains(t: any): boolean;
1374
1374
  rt(): void;
@@ -1390,9 +1390,9 @@ declare class X {
1390
1390
  * See the License for the specific language governing permissions and
1391
1391
  * limitations under the License.
1392
1392
  */
1393
- /** A field path and the TransformOperation to perform upon it. */ declare class On {
1394
- constructor(t: any, n: any);
1393
+ /** A field path and the TransformOperation to perform upon it. */ declare class qe {
1394
+ constructor(t: any, e: any);
1395
1395
  field: any;
1396
1396
  transform: any;
1397
1397
  }
1398
- export { Ve as AggregateField, $e as AggregateQuerySnapshot, Ce as Bytes, Fe as CollectionReference, De as DocumentReference, mr as DocumentSnapshot, Le as FieldPath, Ue as FieldValue, Ae as Firestore, U as FirestoreError, je as GeoPoint, Ne as Query, Tr as QueryCompositeFilterConstraint, br as QueryConstraint, pr as QueryDocumentSnapshot, Or as QueryEndAtConstraint, Ar as QueryFieldFilterConstraint, Dr as QueryLimitConstraint, Vr as QueryOrderByConstraint, yr as QuerySnapshot, xr as QueryStartAtConstraint, Ft as Timestamp, vs as Transaction, ls as WriteBatch, Jr as addDoc, ss as aggregateFieldEqual, is as aggregateQuerySnapshotEqual, Pr as and, as as arrayRemove, cs as arrayUnion, es as average, xe as collection, Se as collectionGroup, Re as connectFirestoreEmulator, rs as count, Zr as deleteDoc, os as deleteField, qe as doc, Me as documentId, Cr as endAt, kr as endBefore, ts as getAggregate, Xr as getCount, Gr as getDoc, Kr as getDocs, Te as getFirestore, hs as increment, Ie as initializeFirestore, Nr as limit, Fr as limitToLast, Rr as or, $r as orderBy, Er as query, ke as queryEqual, Oe as refEqual, bs as runTransaction, us as serverTimestamp, Yr as setDoc, p as setLogLevel, gr as snapshotEqual, qr as startAfter, Sr as startAt, ns as sum, Pe as terminate, Hr as updateDoc, Ir as where, ds as writeBatch };
1398
+ export { Vn as AggregateField, $n as AggregateQuerySnapshot, Cn as Bytes, Fn as CollectionReference, Dn as DocumentReference, mr as DocumentSnapshot, Ln as FieldPath, Un as FieldValue, An as Firestore, U as FirestoreError, jn as GeoPoint, Nn as Query, Tr as QueryCompositeFilterConstraint, br as QueryConstraint, pr as QueryDocumentSnapshot, Or as QueryEndAtConstraint, Ar as QueryFieldFilterConstraint, Dr as QueryLimitConstraint, Vr as QueryOrderByConstraint, yr as QuerySnapshot, xr as QueryStartAtConstraint, Ft as Timestamp, vs as Transaction, ls as WriteBatch, Jr as addDoc, ss as aggregateFieldEqual, is as aggregateQuerySnapshotEqual, Pr as and, as as arrayRemove, cs as arrayUnion, ns as average, xn as collection, Sn as collectionGroup, Rn as connectFirestoreEmulator, rs as count, Zr as deleteDoc, os as deleteField, qn as doc, Mn as documentId, Cr as endAt, kr as endBefore, ts as getAggregate, Xr as getCount, Gr as getDoc, Kr as getDocs, Tn as getFirestore, hs as increment, In as initializeFirestore, Nr as limit, Fr as limitToLast, Rr as or, $r as orderBy, Er as query, kn as queryEqual, On as refEqual, bs as runTransaction, us as serverTimestamp, Yr as setDoc, p as setLogLevel, gr as snapshotEqual, qr as startAfter, Sr as startAt, es as sum, Pn as terminate, Hr as updateDoc, Ir as where, ds as writeBatch };