/** * src/gates/tools.ts — tool-list parsing and allowlist validation (pure). * Ported verbatim from the ZOB harness safety gates. */ import type { HarnessAgent } from "./types.js"; /** * Parse a comma-separated tool list into a trimmed, de-duplicated array. * Returns `undefined` when the input is empty/absent. */ export declare function parseToolList(input: string | undefined): string[] | undefined; /** * Validate requested tools against an agent's declared allowlist. Returns an * array of errors (empty array when valid or no tools requested). */ export declare function validateToolList(agent: HarnessAgent, requestedTools: string[] | undefined): string[];