import type { EntityListItem, EntityOptionsResult, IThresholdRulesStore, ThresholdPermissionLevel } from "@component-stores/ThresholdRulesStore"; import { Service } from "@agentx/agentx-services"; export type { EntityListItem, EntityOptionsResult, IThresholdRulesStore, ThresholdPermissionLevel } from "@component-stores/ThresholdRulesStore"; export declare class ModuleThresholdRules implements IThresholdRulesStore { rules: Service.Cms.ThresholdRule[]; metrics: Service.Cms.ThresholdMetric[]; selectedRule: Service.Cms.ThresholdRule | null; isSaving: boolean; isDeleting: boolean; isEditorOpen: boolean; editorMode: "create" | "edit" | "view"; permissionLevel: ThresholdPermissionLevel; fetchError: string | null; saveError: string | null; queues: EntityListItem[]; teams: EntityListItem[]; sites: EntityListItem[]; agents: EntityListItem[]; entryPoints: EntityListItem[]; isFetchingRules: boolean; isFetchingRuleDetails: boolean; isFetchingMetrics: boolean; isLoadingEntities: boolean; private entityListsLoadedForOrg; private readonly ruleDetailsCache; constructor(); get isFetching(): boolean; get canEdit(): boolean; get canView(): boolean; setPermissionLevel(level: ThresholdPermissionLevel): void; openEditor(mode: "create" | "edit" | "view", rule?: Service.Cms.ThresholdRule): void; closeEditor(): void; fetchRules(orgId: string): Promise; fetchRuleDetails(orgId: string, ruleId: string): Promise; fetchMetrics(orgId: string): Promise; loadEntityLists(orgId: string): Promise; private getEntityListForType; fetchEntityOptions(orgId: string, entityType: Service.Cms.ThresholdEntityType, page: number, searchQuery?: string): Promise; createRule(orgId: string, rule: Service.Cms.ThresholdRuleCreatePayload): Promise; private getRuleForWrite; private persistRuleUpdate; updateRule(orgId: string, ruleId: string, rule: Service.Cms.ThresholdRuleUpdatePayload): Promise; toggleRuleActive(orgId: string, ruleId: string): Promise; deleteRule(orgId: string, ruleId: string): Promise; reset(): void; } export declare const thresholdRules: ModuleThresholdRules; //# sourceMappingURL=store-threshold-rules.d.ts.map