import { ChangeDetectorRef } from '@angular/core'; import { AbstractForm, AgGridComponent, FormModel, PtDynamicFormsComponent, PtDynamicFormsService } from '@prutech/components'; import { ColDef, GridOptions, Module } from '@ag-grid-community/core'; import { Observable } from 'rxjs'; import { MatDialog, MatDialogRef } from '@angular/material/dialog'; import { EmploymentDeclarationHistory } from '../../models/employment-declaration/employment-declaration-history'; import { EmploymentDeclarationService } from '../../services/employment-declaration.service'; import { AssessmentLookupService } from '../../../shared/modules/common-assessment/services/assessment-lookup.service'; import { SaveEmploymentDeclarationHistory } from '../../models/employment-declaration/save-employment-declaration-history'; import { EmployerRemovalConfirmationComponent } from './employer-removal-confirmation/employer-removal-confirmation.component'; import { CommonAssessmentLookup } from '../../../shared/modules/common-assessment/models/common-assessment-lookup'; import { EmployerIncomeHours } from '../../models/employment-declaration/employer-income-hours'; import { AssessmentType } from '../../../shared/constants/assessment-type'; import * as i0 from "@angular/core"; export declare class EmploymentDeclarationComponent extends AbstractForm { protected cdRef: ChangeDetectorRef; private dialog; protected dynamicFormService: PtDynamicFormsService; employmentDeclarationService: EmploymentDeclarationService; private assessmentLookupService; private readonly isClientWorkingControlName; private readonly isDocEvidCurrWorkControlName; private readonly isDocEvidInKindControlName; private readonly isDocEvidVoluntaryControlName; private readonly ackEarnedIncomeControlName; private readonly ackEarnedIncomeDocumentControlName; private readonly isClientKindHoursControlName; private readonly ackKindHoursControlName; private readonly ackKindHoursIncomeDocumentControlName; private readonly isClientVolunteerControlName; private readonly ackVoluntaryHoursControlName; private readonly ackVoluntaryHoursIncomeDocumentControlName; private readonly evidenceLookup; private readonly reportEmpLookup; private readonly sourceCodeLookup; private readonly jobTitleLookup; private readonly wageTypeLookup; private readonly wageFrequencyLookup; private readonly employerDeclTypeLookup; private readonly earnedIncome; private readonly inKindHours; private readonly voluntary; viewModel: ColDef[]; readonly modules: Module[]; employmentRecordsList: EmploymentDeclarationHistory[]; formModel: FormModel; initialized: boolean; dialogRef: MatDialogRef; get: Function; dynamicForm: PtDynamicFormsComponent; grid: AgGridComponent; gridOptions: GridOptions; assessmentType: AssessmentType; constructor(cdRef: ChangeDetectorRef, dialog: MatDialog, dynamicFormService: PtDynamicFormsService, employmentDeclarationService: EmploymentDeclarationService, assessmentLookupService: AssessmentLookupService); get canAdd(): boolean; get entity$(): Observable; get showValidators$(): Observable; dispatchLoadReferenceDataAction(): void; dispatchLoadEntityAction(): void; initSubscriptions(): void; get referenceData$(): Observable; initDetails(): void; afterGridReady(): void; savePayload(isSubmit: boolean): SaveEmploymentDeclarationHistory; saveDetails(isSubmit: boolean): void; initDynamicFormControls(): void; refreshCurrentEmploymentGrid(): void; updateEmployerIncomeHours(employerIncomeHours: EmployerIncomeHours[]): void; addEmployers(): void; openNewDialog(): Observable; enableCheckBox(): void; removeRows(type: number): void; afterOnDestroy(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }