import { EventEmitter, OnInit } from '@angular/core'; import { CatFormListItemConfig } from '../../builder/form.interface'; import { FormArray, FormBuilder, FormControl, FormGroup } from '@angular/forms'; import { OnDestroy } from '@angular/core'; import { BehaviorSubject } from 'rxjs/internal/BehaviorSubject'; import { FormService } from '../../form.service'; import * as i0 from "@angular/core"; export declare class ListItemComponent implements OnInit, OnDestroy { private fb; private formService; listItemConfig: CatFormListItemConfig; variableTree?: string; highlightInvalidFields: boolean; emitFormGroup: EventEmitter>; removeFormGroup: EventEmitter; isHiddenList: EventEmitter; formListItem?: FormGroup; hidden$: BehaviorSubject; private destroySubscriptions$; constructor(fb: FormBuilder, formService: FormService); ngOnDestroy(): void; ngOnInit(): void; addItem(): void; removeItem(index: number): void; addFormGroup(index: number, name: string, formGroup: FormGroup | FormArray): void; addFormControl(index: number, name: string, formControl: FormControl): void; removeChildFormGroup(groupName: string): void; getFullListItemName(index: number): string; hideField(el: HTMLDivElement, hide: boolean): void; getItemList(): FormArray; private getTree; private isVisible; private isHidden; private startList; private clearList; private autoAddItemByPayload; private autofill; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }