/** * Injection Engine — evaluator. * * Pattern: Pure function. Stateless. * Role: Internal helper. Called once per iteration by the * InjectionEngine subflow's compose stage. Slot subflows * read the `active` array and filter by their slot target. * Emits: N/A. Caller (the subflow) emits * `agentfootprint.context.evaluated`. * * Behavior per trigger kind: * • `always` → always active. * • `rule` → predicate runs against `ctx`. Errors are * caught + reported in `skipped`; never * propagate. Run never crashes. * • `on-tool-return` → active when `ctx.lastToolResult.toolName` * matches `trigger.toolName` (string equal * or regex test). * • `llm-activated` → active when the Injection's `id` is in * `ctx.activatedInjectionIds` (the LLM * previously called `viaToolName()`). */ import type { Injection, InjectionContext, InjectionEvaluation } from './types.js'; export declare function evaluateInjections(injections: readonly Injection[], ctx: InjectionContext): InjectionEvaluation; //# sourceMappingURL=evaluator.d.ts.map