import { AuthService } from './auth.service'; import { BehaviorSubject, Observable, Subscription } from 'rxjs'; import { Firestore } from '@angular/fire/firestore/lite'; import * as i0 from "@angular/core"; export declare class ChatService { authService: AuthService; firestore: Firestore; chatStarted: BehaviorSubject; chatsUnread: BehaviorSubject; chatObservable: Observable; chatSubscription: Subscription; currentNumberOfChats: any; auth: any; constructor(authService: AuthService, firestore: Firestore); loginForChat(): Promise; listenChatStarted(): BehaviorSubject; startChat(): void; stopChat(): void; listenToChatsUnread(): BehaviorSubject; resetChatsUnread(): void; getChatsByUserObs(serviceRequestId: any): Observable; getChatsByUser(serviceRequestId: any): Observable; addChat(chat: any): Promise; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }