import type { GovernanceRule } from "../../shared/types.js"; export interface EvaluationResult { blocked: boolean; blocks: string[]; warnings: string[]; escalations: Array<{ ruleId: string; escalation?: Record; }>; } /** * Checks an incoming tool call against the active governance rules in configs.json. * If a rule matches, its action is processed (block, warn, or escalate), * and the violation is recorded in the continuity store. * * Supports depth-based rule matching: rules can specify a `depth` condition * with `min` and/or `max` values. Session depth is resolved from delegation * metadata (getDelegationMeta fallback, SDK parentID deferred). * * @param toolName - Name of the tool being executed * @param sessionID - ID of the calling session * @param rules - List of active governance rules * @returns Result containing blocked flag, blocks, warnings, and escalations. */ export declare function evaluateGovernance(toolName: string, sessionID: string, rules: GovernanceRule[]): EvaluationResult; //# sourceMappingURL=evaluator.d.ts.map