import { ToolDefinition } from '../core/schema.js'; /** * CommandExecutor - Executes shell commands * Handles parameter templating, timeouts, and error capture */ export declare class CommandExecutor { private cwd?; constructor(cwd?: string); /** * Execute a tool that runs a shell command. * * @param tool - Tool definition * @param params - Tool parameters * @param credentials - Optional per-call credential overrides. Keys must match the env-var * names used by the tool (e.g. `SLACK_BOT_TOKEN`). When provided they are merged on top of * `process.env` inside the child process so the spawned script sees them as normal env vars. * Values are never logged. Falls back to the current environment when not provided. */ execute(tool: ToolDefinition, params: Record, credentials?: Record): Promise; /** * Replace parameter placeholders in a string */ private templateString; } export default CommandExecutor; //# sourceMappingURL=command-executor.d.ts.map