import { TransactionService } from './transaction.service'; import { Survey, Option, Reply, Check, SurveyLevelAnswer, ReplyItem } from '../../classes'; import { Observable, Subject } from 'rxjs'; import { AuthService } from '../auth/auth.service'; import { AngularFireDatabase } from '@angular/fire/database'; export declare class ReplyService { private transaction; private auth; private db; toggleEvent: Subject<{}>; tracker: Reply; data: ReplyItem; readonly onChange: Observable; private queue; constructor(transaction: TransactionService, auth: AuthService, db: AngularFireDatabase); readonly isChanged: boolean; toggle(option: Option, value: any, as?: string): Promise; watch(survey: Survey, as?: string): Observable; getLatest(survey_id: string, as?: string, shouldMatch?: Partial): Observable; save(survey: Survey, as?: string, replierInfo?: { disaplyName?: string; phoneNumber?: string; email?: string; }): Promise; private wailUntilCheckProcessFinished; private confirm; private snapshot; private uncheck; private check; private handleMaxCheckedOptionCnt; setCheck(option: Option, check: Check, as: string): void; updateCheck(option: Option, path: string, value: any, as: string): void; getCheck(option: Option, as: string): Check; isChecked(option: Option, checkedTypes?: string[], as?: string): boolean; }