/**
 * Universal tool argument sanitizer — strips model control tokens from ALL
 * string arguments on ALL tools when the model profile has validateToolArgs
 * enabled. Exec/bash commands get additional structural validation.
 *
 * Gated on ModelProfile.filters.validateToolArgs. Claude gets passthrough.
 * Gemma/Ollama profiles get full sanitization.
 *
 * @module
 */
import type { ModelProfile } from "../config/model-profiles.js";
import type { AnyAgentTool } from "./pi-tools.types.js";
/**
 * Wrap ALL tools with universal string argument sanitization.
 * Exec/bash tools get additional structural command validation.
 *
 * Call this AFTER tools are created and the model profile is resolved.
 */
export declare function wrapToolsWithArgValidation(tools: AnyAgentTool[], profile: ModelProfile): AnyAgentTool[];
/**
 * Wrap a single tool with universal argument sanitization.
 */
export declare function wrapToolWithArgValidation(tool: AnyAgentTool): AnyAgentTool;
