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