import { OnInit, EventEmitter, ElementRef, SimpleChanges } from "@angular/core";
import { SalesforceService } from "../../services/salesforce.service";
import { DataService } from '../../services/data.service';
import { ActivatedRoute } from "@angular/router";
import { DomSanitizer, SafeHtml } from "@angular/platform-browser";
import { ActionMeta } from '../../interfaces/actionMeta';
import { BookletWrapper } from "../../model/bookletWrapper";
import { StorageService } from '../../services/storage.service';
import { ChangeService } from "../../services/change.service";
import { I18nService } from "../../i18n.service";
import { Observable } from "rxjs";
import { HttpClient } from "@angular/common/http";
import { QuestionbookComponent } from "../questionbook/questionbook.component";
import * as i0 from "@angular/core";
export declare class BookletComponent implements OnInit {
    private sfService;
    private dataService;
    private storageService;
    private route;
    private sanitizer;
    private changeService;
    i18nService: I18nService;
    private http;
    bookletId: string;
    serv: string;
    tkn: string;
    bookletJSON: any;
    dropdownDependentData: any;
    labelValue: string;
    token: string;
    languageCode: string;
    fieldRestrictions: any;
    from: any;
    apiUrl: any;
    isEdit: boolean;
    handleBookletActionEvent: EventEmitter<any>;
    handlePage: EventEmitter<any>;
    hadleDropDownDependent: EventEmitter<any>;
    handleCalendarDate: EventEmitter<any>;
    handleCalendarEvent: EventEmitter<any>;
    nxtBooklet: BookletWrapper;
    booklet: any[];
    abItem: any;
    actions: ActionMeta[];
    bookQuestionsMap: any;
    translateMap: any;
    private sqOptions;
    isAnswerFlag: boolean;
    spinnerName: string;
    spinnerType: string;
    langDirection: string;
    answerList: any[];
    dataBind: any;
    allEvents: any[];
    questionbookComponent: QuestionbookComponent;
    constructor(sfService: SalesforceService, dataService: DataService, storageService: StorageService, route: ActivatedRoute, sanitizer: DomSanitizer, changeService: ChangeService, el: ElementRef, i18nService: I18nService, http: HttpClient);
    ngOnInit(): void;
    ngOnChanges(simplechanges: SimpleChanges): void;
    upgradeActions(actionString: string): any[];
    processBooklet(): void;
    private readBooklet;
    private successReadBooklet;
    private failureReadBooklet;
    getRefQbData(refqbid: string): Observable<any>;
    singleFieldChange(event: any): void;
    handleBookletActionClick(action: ActionMeta, ques?: any): void;
    handleCompleteBooklet(completeBooklet: any): void;
    handleBook(quesList: any): void;
    flattenObject(obj: any, parentKey?: string, includeObjects?: boolean): any[];
    handleQues(ques: any): void;
    addEvent(day: any, entryQues: any): void;
    readQuestions(qbId: string): any[];
    readTransQuestions(qbId: string): any[];
    getText(value: any): SafeHtml;
    getDropDown(event: any): void;
    getCalendarDate(event: any): void;
    getCalendarEvent(event: any): void;
    editChangeClick(action: any): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<BookletComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<BookletComponent, "lib-booklet", never, { "bookletId": { "alias": "bookletId"; "required": false; }; "serv": { "alias": "serv"; "required": false; }; "tkn": { "alias": "tkn"; "required": false; }; "bookletJSON": { "alias": "bookletJSON"; "required": false; }; "dropdownDependentData": { "alias": "dropdownDependentData"; "required": false; }; "labelValue": { "alias": "labelValue"; "required": false; }; "token": { "alias": "token"; "required": false; }; "languageCode": { "alias": "languageCode"; "required": false; }; "fieldRestrictions": { "alias": "fieldRestrictions"; "required": false; }; "from": { "alias": "from"; "required": false; }; "apiUrl": { "alias": "apiUrl"; "required": false; }; "isEdit": { "alias": "isEdit"; "required": false; }; "dataBind": { "alias": "dataBind"; "required": false; }; }, { "handleBookletActionEvent": "handleBookletActionEvent"; "handlePage": "handlePage"; "hadleDropDownDependent": "hadleDropDownDependent"; "handleCalendarDate": "handleCalendarDate"; "handleCalendarEvent": "handleCalendarEvent"; }, never, never, true, never>;
}
