import { OnInit } from '@angular/core';
import { MatLegacyDialogRef as MatDialogRef } from '@angular/material/legacy-dialog';
import { MatLegacySnackBar as MatSnackBar } from '@angular/material/legacy-snack-bar';
import { AppTocService } from '../../services/app-toc.service';
import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
import * as i0 from "@angular/core";
export declare class EnrollQuestionnaireComponent implements OnInit {
    private snackBar;
    dialogRef: MatDialogRef<EnrollQuestionnaireComponent>;
    data: any;
    private appTocSvc;
    private fb;
    afterSubmitAction: any;
    isReadOnly: boolean;
    rating: number;
    stars: any[];
    otherFieldType: any;
    selectedOption: boolean;
    formDetails: any;
    surveyId: string;
    surveyForm: FormGroup;
    parentalFields: any[];
    childFields: any[];
    surveyFormIsValid: boolean;
    addLoader: number;
    wfClientVersion: string;
    constructor(snackBar: MatSnackBar, dialogRef: MatDialogRef<EnrollQuestionnaireComponent>, data: any, appTocSvc: AppTocService, fb: FormBuilder);
    checkAfterSubmit(_e: any): void;
    private openSnackbar;
    ngOnInit(): void;
    getFormDetails(): void;
    buildForm(): void;
    get questionsArray(): FormArray;
    getChildQuestionsFormArray(sectionId: string): FormArray;
    getChildFields(sectionId: string): any;
    getQuestionControl(index: number): import("@angular/forms").AbstractControl<any, any>;
    closeForm(): void;
    submitForm(): void;
    get dataObject(): any;
    updateQuestionValues(event: any): void;
    updateSurveyFormValidity(): void;
    static ɵfac: i0.ɵɵFactoryDeclaration<EnrollQuestionnaireComponent, never>;
    static ɵcmp: i0.ɵɵComponentDeclaration<EnrollQuestionnaireComponent, "ws-app-enroll-questionnaire", never, {}, {}, never, never, false, never>;
}
//# sourceMappingURL=enroll-questionnaire.component.d.ts.map