import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core'; import { FormArray, FormGroup } from '@angular/forms'; import * as i0 from "@angular/core"; export interface AdvancedVariable { name: string; label: string; value: boolean | string[]; type?: string; } export declare class AdvancedVariablesFormComponent implements OnChanges { advancedVariables: AdvancedVariable[]; advancedVariableForm: FormArray; variableBooleanChange: EventEmitter<{ name: string; value: boolean; }>; variableValueChange: EventEmitter<{ name: string; value: any; }>; ngOnChanges(changes: SimpleChanges): void; /** * Get the FormGroup at a specific index */ getFormGroupAt(index: number): FormGroup | null; /** * Get the value from form or variable */ getBooleanValue(variable: AdvancedVariable, index: number): boolean; /** * Get the value from form or variable (for non-boolean types) */ getValue(variable: AdvancedVariable, index: number): any; /** * Check if variable is boolean type */ isBooleanType(variable: AdvancedVariable): boolean; /** * Check if variable is str_list type */ isStrListType(variable: AdvancedVariable): boolean; /** * Handle boolean value change */ onVariableBooleanChange(variableName: string, value: boolean): void; /** * Handle value change for non-boolean types */ onVariableValueChange(variableName: string, value: any): void; /** * Handle adding a new item to str_list */ addStrListItem(variable: AdvancedVariable, index: number): void; /** * Handle removing an item from str_list */ removeStrListItem(variable: AdvancedVariable, index: number, itemIndex: number): void; /** * Handle str_list item value change */ onStrListItemChange(variable: AdvancedVariable, index: number, itemIndex: number, value: string): void; /** * Get FormArray for str_list variable */ getStrListFormArray(variable: AdvancedVariable, index: number): FormArray | null; /** * Track by function for ngFor */ trackByVariable(index: number, variable: AdvancedVariable): string; /** * Track by function for form controls in str_list */ trackByControl(index: number, control: any): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }