import { DocumentReference, DocumentSnapshot } from 'firebase-admin/firestore'; export class UnimplementedDocument implements DocumentReference { get id(): string { throw new Error('Method not implemented.'); } get parent(): FirebaseFirestore.CollectionReference { throw new Error('Method not implemented.'); } get path(): string { throw new Error('Method not implemented.'); } get firestore(): FirebaseFirestore.Firestore { throw new Error('Method not implemented.'); } collection(collectionPath: string): FirebaseFirestore.CollectionReference { throw new Error('Method not implemented.'); } listCollections(): Promise[]> { throw new Error('Method not implemented.'); } create(data: FirebaseFirestore.WithFieldValue): Promise { throw new Error('Method not implemented.'); } set(data: FirebaseFirestore.PartialWithFieldValue, options: FirebaseFirestore.SetOptions): Promise; set(data: FirebaseFirestore.WithFieldValue): Promise; set(data: unknown, options?: unknown): Promise { throw new Error('Method not implemented.'); } update(data: FirebaseFirestore.UpdateData, precondition?: FirebaseFirestore.Precondition | undefined): Promise; update(field: string | FirebaseFirestore.FieldPath, value: any, ...moreFieldsOrPrecondition: any[]): Promise; update(data: unknown, precondition?: unknown, ...rest: any): Promise { throw new Error('Method not implemented.'); } delete(precondition?: FirebaseFirestore.Precondition | undefined): Promise { throw new Error('Method not implemented.'); } get(): Promise> { throw new Error('Method not implemented.'); } onSnapshot(onNext: (snapshot: FirebaseFirestore.DocumentSnapshot) => void, onError?: ((error: Error) => void) | undefined): () => void { throw new Error('Method not implemented.'); } isEqual(other: DocumentReference): boolean { throw new Error('Method not implemented.'); } withConverter(converter: FirebaseFirestore.FirestoreDataConverter): DocumentReference; withConverter(converter: null): DocumentReference; withConverter(converter: unknown): DocumentReference | DocumentReference { throw new Error('Method not implemented.'); } } export class UnimplementedDocumentSnapshot implements DocumentSnapshot { get exists(): boolean { throw new Error('Method not implemented.'); } get ref(): DocumentReference { throw new Error('Method not implemented.'); } get id(): string { throw new Error('Method not implemented.'); } get createTime(): FirebaseFirestore.Timestamp { throw new Error('Method not implemented.'); } get updateTime(): FirebaseFirestore.Timestamp { throw new Error('Method not implemented.'); } get readTime(): FirebaseFirestore.Timestamp { throw new Error('Method not implemented.'); } data(): T { throw new Error('Method not implemented.'); } get(fieldPath: string | FirebaseFirestore.FieldPath) { throw new Error('Method not implemented.'); } isEqual(other: DocumentSnapshot): boolean { throw new Error('Method not implemented.'); } }