/** * ATP Graph Validator * * Validates OpenClaw agent graphs against ATP policies */ import type { ATPClient } from 'atp-sdk'; import type { GraphValidationResult, InterAgentPolicy, WorkflowConstraints, GraphNode, GraphEdge } from './types.js'; export declare class ATPGraphValidator { private atpClient; private interAgentPolicies; private workflowConstraints; constructor(atpClient: ATPClient, policies?: InterAgentPolicy[], constraints?: WorkflowConstraints); /** * Validate a OpenClaw agent graph */ validateGraph(nodes: GraphNode[], edges: GraphEdge[]): Promise; /** * Validate a single node (agent) */ private validateNode; /** * Validate an edge (agent-to-agent connection) */ private validateEdge; /** * Validate workflow constraints */ private validateWorkflowConstraints; /** * Detect cycles in the graph */ private detectCycles; /** * Calculate maximum chain depth */ private calculateMaxDepth; /** * Calculate fan-out for each agent */ private calculateFanOut; /** * Log validation result */ private logValidation; } /** * Simplified crew validation function */ export declare function validateCrewWithAtp(crew: any, atpClient: ATPClient, policies?: InterAgentPolicy[], constraints?: WorkflowConstraints): Promise; //# sourceMappingURL=validator.d.ts.map