import { OnInit } from '@angular/core'; import { FormGroup, FormArray, FormControl, AbstractControl } from '@angular/forms'; import { DescriptorFormControl } from '../../descriptor/descriptor-form-control'; import { FormService } from '../../services/form.service'; import * as i0 from "@angular/core"; /** * Class that defines a dynamic component */ export declare class VedraxDynamicComponent implements OnInit { private formService; form: FormGroup; descriptor: DescriptorFormControl; titles: Map; constructor(formService: FormService); ngOnInit(): void; /** * Get declared array of controls */ get formArray(): FormArray; /** * Get child control * @param control * @param descriptor * @returns */ getChildControl(control: AbstractControl, descriptor: DescriptorFormControl): FormControl; /** * Remove a control by index from the array * * @param index the index of the control */ remove(index: number): void; /** * Add a control to the array */ add(): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }