import { OnChanges, OnInit, SimpleChanges } from '@angular/core'; import { AbstractControl, FormArray, FormGroup } from '@angular/forms'; import { SelectItem } from '@valtimo/components'; import { IconService } from 'carbon-components-angular'; import { ConditionType } from '../../models'; import { AccessControlFormEditorService } from '../../services'; import * as i0 from "@angular/core"; export declare class ConditionTreeComponent implements OnInit, OnChanges { private readonly formEditorService; private readonly iconService; conditions: FormArray; resourceType: string | null; disabled: boolean; depth: number; fieldItems: SelectItem[]; containerTargetItems: SelectItem[]; operatorItems: SelectItem[]; valueTypeItems: SelectItem[]; typeItems: SelectItem[]; protected readonly testIds: { readonly addPermissionButton: "accessControlEditorAddPermission"; readonly permissionListItem: "accessControlEditorPermissionListItem"; readonly permissionCard: "accessControlEditorPermissionCard"; readonly removePermissionButton: "accessControlEditorRemovePermission"; readonly resourceTypeSelect: "accessControlEditorResourceType"; readonly actionsSelect: "accessControlEditorActions"; readonly contextToggle: "accessControlEditorContextToggle"; readonly contextResourceTypeSelect: "accessControlEditorContextResourceType"; readonly addConditionButton: "accessControlEditorAddCondition"; readonly removeConditionButton: "accessControlEditorRemoveCondition"; readonly conditionTypeSelect: "accessControlEditorConditionType"; readonly conditionFieldSelect: "accessControlEditorConditionField"; readonly conditionOperatorSelect: "accessControlEditorConditionOperator"; readonly conditionValueInput: "accessControlEditorConditionValue"; readonly conditionPathInput: "accessControlEditorConditionPath"; readonly conditionClazzInput: "accessControlEditorConditionClazz"; }; get rowLayerLevel(): 1 | 2; get inputLayerLevel(): 1 | 2; constructor(formEditorService: AccessControlFormEditorService, iconService: IconService); ngOnInit(): void; ngOnChanges(changes: SimpleChanges): void; groupAt(index: number): FormGroup; asFormGroup(control: AbstractControl): FormGroup; typeOf(index: number): ConditionType; nestedConditions(index: number): FormArray; containerResourceType(index: number): string | null; containerResourceTypeAt(index: number): string; fieldValueAt(index: number): string; operatorValueAt(index: number): string; clazzValueAt(index: number): string; clazzManualAt(index: number): boolean; addCondition(): void; removeCondition(index: number): void; onClazzManualToggle(index: number, manual: boolean): void; onTypeChange(index: number): void; private recomputeItems; private collectFieldValues; private collectContainerTargets; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }