import { ChangeDetectorRef, OnInit } from '@angular/core'; import { FieldArrayType, FormlyFieldConfig } from '@ngx-formly/core'; import * as i0 from "@angular/core"; export declare class QueryBuilderFormlyComponent extends FieldArrayType implements OnInit { private cdr; constructor(cdr: ChangeDetectorRef); ngOnInit(): void; getRowCondition(index: number): 'and' | 'or'; /** * Sets the condition for a specific row * @param index The index of the row * @param condition The condition to set (and/or) */ setRowCondition(index: number, condition: 'and' | 'or'): void; copyRule(): void; createField(field: FormlyFieldConfig): FormlyFieldConfig; /** * Duplicates the row at the given index. * A deep–clone of that row’s model is inserted right after the original row. */ private backupAllDateRangeFields; private restoreAllDateRangeFields; isRowValidForCopy(index: number): boolean; reset(): void; getFilterType(subField: FormlyFieldConfig): string | undefined; /** * Helper method to restore a simple field value */ private restoreSimpleField; /** * Helper method to restore a fieldGroup with nested controls (like date range) */ private restoreFieldGroup; /** * Duplicates the row at the given index. * A deep–clone of that row's model is inserted right after the original row. */ copy(index: number): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵcmp: i0.ɵɵComponentDeclaration; }