import { AppConfigService } from "../../configuration/app-config.service"; import { NuxeoService } from "../../core/services/nuxeo/nuxeo.service"; import * as i0 from "@angular/core"; export declare class EvaluatorsService { private nuxeoService; private appConfigService; context: { entity: any; getEvaluator: any; user: any; }; userEvaluators: Record; conditions: any; constructor(nuxeoService: NuxeoService, appConfigService: AppConfigService); asyncEvery: (arr: any, predicate: any) => Promise; asyncSome: (arr: any, predicate: any) => Promise; evaluators: { AND: (context: any, args: any[]) => Promise; OR: (context: any, args: any[]) => Promise; isStatus: (context: any, args: any) => Promise; isCreator: (context: any, args: any) => Promise; isUserInrole: (context: any, args: any) => Promise; }; getEvaluator: (key: string) => Promise; setEvaluators(evaluators: any): void; getEvaluators(): { AND: (context: any, args: any[]) => Promise; OR: (context: any, args: any[]) => Promise; isStatus: (context: any, args: any) => Promise; isCreator: (context: any, args: any) => Promise; isUserInrole: (context: any, args: any) => Promise; }; getUserEvaluators(): Record; evaluateRule(ruleId: string, context?: any): Promise; getRuleById(id: string): any; getAllRules(): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }