import { AlfrescoApiService } from '@alfresco/adf-content-services'; import { Observable } from 'rxjs'; import { Rule, RuleForForm, RuleOptions, RuleSettings } from '../model/rule.model'; import { RuleCompositeCondition } from '../model/rule-composite-condition.model'; import { RuleSet } from '../model/rule-set.model'; import { NotificationService } from '@alfresco/adf-core'; import * as i0 from "@angular/core"; interface GetRulesResult { rules: Rule[]; hasMoreRules: boolean; } export declare class FolderRulesService { private readonly apiService; private readonly notificationService; static readonly MAX_RULES_PER_GET = 100; static get emptyCompositeCondition(): RuleCompositeCondition; static get emptyRuleOptions(): RuleOptions; static get emptyRule(): Rule; static get emptyRuleForForm(): RuleForForm; private selectedRuleSource; private deletedRuleIdSource; selectedRule$: Observable; deletedRuleId$: Observable; constructor(apiService: AlfrescoApiService, notificationService: NotificationService); private callApi; getRules(owningFolderId: string, ruleSetId: string, skipCount?: number): Observable; loadRules(ruleSet: RuleSet, skipCount?: number, selectRule?: 'first' | 'last' | Rule): void; createRule(nodeId: string, rule: Partial, ruleSetId?: string): Promise; updateRule(nodeId: string, ruleId: string, rule: Rule, ruleSetId?: string): Promise; deleteRule(nodeId: string, ruleId: string, ruleSetId?: string): void; getRuleSettings(nodeId: string, key?: string): Promise; updateRuleSettings(nodeId: string, key: string, body: RuleSettings): Promise; private formatRules; private formatRule; private formatCompositeCondition; private parseSimpleCondition; private formatSimpleCondition; selectRule(rule: Rule): void; selectRuleInRuleSet(ruleSet: RuleSet, selectRule?: 'first' | 'last' | Rule): void; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } export {};