import type { AgentJsonConfig } from '@n8n/api-types'; import type { PolicyDecision } from '@n8n/decorators'; import type { PolicyActor } from '../../policy/policy-enforcement-backend'; import { PolicyEnforcementService } from '../../policy/policy-enforcement.service'; export type PolicedAgentContent = Pick; export declare class AgentPolicyService { private readonly policyEnforcementService; constructor(policyEnforcementService: PolicyEnforcementService); evaluateSave(projectId: string, agentId: string | null, content: PolicedAgentContent, stored: PolicedAgentContent | null): Promise; enforceSave(projectId: string, agentId: string | null, content: PolicedAgentContent, stored: PolicedAgentContent | null, actor: PolicyActor): Promise; enforcePublish(projectId: string, agentId: string, content: PolicedAgentContent, actor: PolicyActor): Promise; evaluatePublish(projectId: string, agentId: string | null, content: PolicedAgentContent): Promise; }