export interface SemanticConstraint { field: string; operator: 'must_include' | 'must_exclude' | 'must_match' | 'must_not_match'; value: string | string[]; } export interface SemanticScope { id: string; delegation_id: string; base_action: string; constraints: SemanticConstraint[]; created_at: string; } export interface ScopeViolation { id: string; scope_id: string; agent_id: string; action_description: string; violated_constraint: SemanticConstraint; violation_detail: string; created_at: string; } /** * Evaluates a SemanticScope's constraints against an action's metadata. * Pure: does not read from or write to any registry. Callers own the * scope lookup and the violation ledger. */ export declare function evaluateSemanticConstraints(scope: SemanticScope, agentId: string, actionMetadata: Record): { compliant: boolean; violations: ScopeViolation[]; }; export declare function defineSemanticScope(_params: { delegation_id: string; base_action: string; constraints: SemanticConstraint[]; }): SemanticScope; export declare function checkSemanticCompliance(_scopeId: string, _agentId: string, _actionMetadata: Record): { compliant: boolean; violations: ScopeViolation[]; }; export declare function getScopeViolations(_agentId?: string): ScopeViolation[]; export declare function clearSemanticScopingStores(): void; //# sourceMappingURL=semantic-scoping.d.ts.map