import { Injector, OnInit } from '@angular/core'; import { RuleDefinitionService } from 'tnx-admin-service/ruledefinition/services'; import { AutoCompleteControlSchema, DataFormBase, Filter, FormControlBase, PopupSize } from 'tnx-shared'; export declare class RuleDefinitionFormComponent extends DataFormBase implements OnInit { protected _injector: Injector; private _ruleDefinitionService; ruleGeneratorModel: { showForm: boolean; popupSize: PopupSize; filter: any; event: any; control: any; data: any; changeFunction: any; parentPath: any; }; operators: { id: string; ten: string; }[]; controlValue: AutoCompleteControlSchema; dataSourceFields: any[]; query: any; control: AutoCompleteControlSchema; mathOperators: string[]; mathOperator2s: string[]; constructor(_injector: Injector, _ruleDefinitionService: RuleDefinitionService); ngOnInit(): void; modifyDetailData(data: any): Promise; handleSettingRow(evt: any, control: FormControlBase, parentPath: string, clientRuleData: any, changeFunc: Function): void; parseExpressionToFilter(expression: string): Filter; deQuy(logic: any, logicParent: any): Filter | string; correctLogic(operator: any): "and" | "or"; stringfyExpression(logic: any): any; private addToSourceField; _getFilter(indexResult: number[], tokenRoots: any[]): string | { field: any; operator: any; value: string; }; handleChangeField(field: any): void; handleGeneratedRule(): void; deQuyGenExpression(filter: any, isRoot?: boolean): any; onBeforeSave(): void; }