import { AngularFirestore, DocumentReference } from '@angular/fire/firestore'; import { SafetyForm } from '@digitaldealers/typings'; import { LocalStorageService } from 'angular-2-local-storage'; import { Observable } from 'rxjs'; export interface FormListOptions { role?: string; limit?: number; offset?: number; where?: any; } export declare class FormService { private _db; private _storage; private readonly collectionName; constructor(_db: AngularFirestore, _storage: LocalStorageService); getOne(id: string): Observable; getRef(id: string): DocumentReference; getListBulk(options?: FormListOptions): Observable; getList(options: FormListOptions): Observable; save(data: SafetyForm): Observable; update(id: string, data: SafetyForm): Observable; delete(id: string): Observable; getCount(): Observable; }