import { OnInit } from '@angular/core'; import { Router } from '@angular/router'; import { CommonFunctionService } from 'dhwani-material-library'; import { MatDialog } from '@angular/material/dialog'; import { MatSnackBar } from '@angular/material/snack-bar'; import { NgProgress, NgProgressRef } from 'ngx-progressbar'; import { TempModuleService } from '../form-translate/services/temp-module.service'; export declare enum FormDataDownloadType { PUBLISHED = "published", UNPUBLISHED = "unpublished" } export declare class TempFormsComponent implements OnInit { private manageFormServices; ngProgress: NgProgress; surveyBuilderService: TempModuleService; snackBar: MatSnackBar; router: Router; dialog: MatDialog; private commonService; loaderState: boolean; surveyForms: any[]; language: string; project_name: string; form_name: string; allowedFinalActions: any; progressRef: NgProgressRef; webFormBaseUrl: any; constructor(manageFormServices: TempModuleService, ngProgress: NgProgress, surveyBuilderService: TempModuleService, snackBar: MatSnackBar, router: Router, dialog: MatDialog, commonService: CommonFunctionService); ngOnInit(): void; getForms(): void; openDownloadDialog(form: any): void; private onGettingTempFormSuccess; private onGettingTempFormFail; formDeleteHandler(form: any): void; revertPublishSurveyForms(id: any, formDetails: any): void; publishSurveyForms(id: any, formDetails: any): void; isFormExpiry(dateToCheck: string): boolean; submitForm(form: any): void; downloadFormData(form: any, option: { formType: FormDataDownloadType; language?: string; }): void; private downloadPublishedData; private downloadUnpublishedData; handleBackNavi(path: string): boolean; getWebFormUrl(projectId: string, formId: string): string; showLinking(data: any): void; downloadCSV(): void; importForms(): void; }