import { AngularFireDatabase } from '@angular/fire/database'; import { Observable } from 'rxjs'; import { AuthService } from '../auth/auth.service'; import { Check } from '../../classes'; import 'firebase/functions'; export declare type DrawnData = { [q_id: string]: { [o_id: string]: { [order_key: string]: Check[]; }; }; }; export declare class DrawService { private db; private auth; constructor(db: AngularFireDatabase, auth: AuthService); data: DrawnData; fetch(survey_id: string): Observable; }