import { ESocialTrainingCodeType } from '../../../../core/enums/e-social-training-code-type';
import { AfterViewChecked, ChangeDetectorRef, OnInit } from '@angular/core';
import { FormArray, FormBuilder, FormGroup } from '@angular/forms';
import { ActivatedRoute } from '@angular/router';
export interface TrainingData {
    startDate?: Date;
    eSocialTrainingCodeType?: ESocialTrainingCodeType;
}
export declare class RegulatoryNormTrainingHistoryListComponent implements OnInit, AfterViewChecked {
    private formBuilder;
    private route;
    private readonly changeRef;
    parentFormGroup: FormGroup;
    nameFormControl: string;
    formArray: FormArray;
    permissions: any;
    isAddButtonDisabled: boolean;
    isRemoveButtonDisabled: boolean;
    private ngUnsubscribe;
    routeParams: any;
    indexToDisable: number;
    personBirthDate: Date;
    isDisabled: boolean;
    constructor(formBuilder: FormBuilder, route: ActivatedRoute, changeRef: ChangeDetectorRef);
    ngOnInit(): void;
    ngAfterViewChecked(): void;
    onRouteDataChange(data: any): void;
    onRouteParamsChange(params: any): void;
    addRegulatoryNormTrainingHistoryListItem(): void;
    private setESocialTrainingCodeTypeValidator;
    private setStartDateValidator;
    private getESocialTrainingCodeQuantity;
    enableOrDisableAddButton(forms: any): void;
    get regulatoryNormTrainingHistories(): FormArray;
    private createFormGroup;
    removeRegulatoryTraining(index: number): void;
    checkPermissions(): boolean;
    createRegulatoryNormTrainingHistoryFormGroup(trainingData?: TrainingData): void;
    set parentFormGroupName(name: string);
    set trainingData(list: TrainingData[]);
    set personBirthdate(birthdate: Date);
}
