import { HttpClient } from '@angular/common/http'; import { AngularFireAuth } from '@angular/fire/auth'; import { AngularFirestore } from '@angular/fire/firestore'; import { AngularFireStorage } from '@angular/fire/storage'; import { SafetyMyForm } from '@digitaldealers/typings'; import { Observable } from 'rxjs'; export interface MyFormListOptions { limit?: number; offset?: number; where?: []; } export interface MyFormExportParams { assetKey?: string; timezoneOffset?: number; } export interface ExportPdfResponse { file?: Blob; filename: string; link?: string; } export declare class MyFormService { private _db; private afAuth; private _afStorage; private http; private readonly collectionName; private uid; constructor(_db: AngularFirestore, afAuth: AngularFireAuth, _afStorage: AngularFireStorage, http: HttpClient); private static getFileName; save(data: SafetyMyForm): Observable; getList(options: MyFormListOptions): Observable; assignedToMeList(options: MyFormListOptions): Observable; private _getList; private prepareList; assignedToMeCount(): Observable; getOne(id: string): Observable; uploadFiles(files: (File | string)[]): Promise<{ name: string; url: string; }[]>; getCount(): Observable; delete(id: string): Observable; export(url: string, formId: string, params?: MyFormExportParams): Observable; private blobToJson; }