import { WebPlugin } from '@capacitor/core'; import type { AddCollectionGroupSnapshotListenerCallback, AddCollectionGroupSnapshotListenerOptions, AddCollectionSnapshotListenerCallback, AddCollectionSnapshotListenerOptions, AddDocumentOptions, AddDocumentResult, AddDocumentSnapshotListenerCallback, AddDocumentSnapshotListenerOptions, DeleteDocumentOptions, DocumentData, EnablePersistenceOptions, FirebaseFirestorePlugin, GetCollectionGroupOptions, GetCollectionGroupResult, GetCollectionOptions, GetCollectionResult, GetCountFromServerOptions, GetCountFromServerResult, GetDocumentOptions, GetDocumentResult, RemoveSnapshotListenerOptions, SetDocumentOptions, UpdateDocumentOptions, UseEmulatorOptions, WriteBatchOptions } from './definitions'; export declare class FirebaseFirestoreWeb extends WebPlugin implements FirebaseFirestorePlugin { private readonly unsubscribesMap; private lastListenerId; addCollectionGroupSnapshotListener(options: AddCollectionGroupSnapshotListenerOptions, callback: AddCollectionGroupSnapshotListenerCallback): Promise; addCollectionSnapshotListener(options: AddCollectionSnapshotListenerOptions, callback: AddCollectionSnapshotListenerCallback): Promise; addDocument(options: AddDocumentOptions): Promise; addDocumentSnapshotListener(options: AddDocumentSnapshotListenerOptions, callback: AddDocumentSnapshotListenerCallback): Promise; clearPersistence(): Promise; deleteDocument(options: DeleteDocumentOptions): Promise; disableNetwork(): Promise; disablePersistence(): Promise; enableNetwork(): Promise; enablePersistence(options?: EnablePersistenceOptions): Promise; getCollection(options: GetCollectionOptions): Promise>; getCollectionGroup(options: GetCollectionGroupOptions): Promise>; getCountFromServer(options: GetCountFromServerOptions): Promise; getDocument(options: GetDocumentOptions): Promise>; removeAllListeners(): Promise; removeSnapshotListener(options: RemoveSnapshotListenerOptions): Promise; setDocument(options: SetDocumentOptions): Promise; updateDocument(options: UpdateDocumentOptions): Promise; useEmulator(options: UseEmulatorOptions): Promise; writeBatch(options: WriteBatchOptions): Promise; private buildCollectionQuery; private buildFirebaseQueryCompositeFilterConstraint; private buildFirebaseQueryConstraint; private buildFirebaseQueryConstraints; private buildFirebaseQueryFieldFilterConstraint; private buildFirebaseQueryFilterConstraint; private buildFirebaseQueryFilterConstraints; private buildFirebaseQueryNonFilterConstraint; private buildFirebaseQueryNonFilterConstraints; private deserializeData; private serializeData; private serializeFieldValue; private serializeFilterValue; private serializeMarker; private generateListenerId; }