import { EventEmitter, OnInit } from '@angular/core'; import { FormArray, FormBuilder, FormControl, FormGroup, UntypedFormGroup } from '@angular/forms'; import { BehaviorSubject } from 'rxjs/internal/BehaviorSubject'; import { CatFormConfig } from './builder/form.interface'; import { FormService } from './form.service'; import * as i0 from "@angular/core"; export declare class FormComponent implements OnInit { private fb; private formService; config?: CatFormConfig; isValid: EventEmitter; submitted: EventEmitter; dynamicForm?: UntypedFormGroup; highlightInvalidFields$: BehaviorSubject; private elForm?; private destroySubscriptions$; constructor(fb: FormBuilder, formService: FormService); ngOnInit(): void; submit(cbBeforeSend?: () => void, cbSuccess?: (response: any) => void, cbError?: (err: any) => void): void; submitOnKeyEnter(event: KeyboardEvent): void; addFormGroup(legend: string, formGroup: FormGroup | FormArray): void; addFormControl(name: string, formControl: FormControl): void; removeFormGroup(groupName: string): void; hideField(el: HTMLDivElement, hide: boolean): void; private getFormData; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }