import { AngularFirestore, DocumentReference } from '@angular/fire/firestore'; import { SafetyUser } from '@digitaldealers/typings'; import { LocalStorageService } from 'angular-2-local-storage'; import { Observable } from 'rxjs'; export declare class UserService { private _db; private _storage; private readonly collectionName; constructor(_db: AngularFirestore, _storage: LocalStorageService); getOne(id: string): Observable; getRef(id: string): DocumentReference; getList(): Observable; save(data: SafetyUser): void; update(id: string, data: Partial): Promise; delete(id: string): Promise; getCount(): Observable; }