export interface ExecOptions { /** Command to run */ command: string; /** Arguments to pass */ args?: string[]; /** Working directory */ cwd?: string; /** Timeout in milliseconds (default: 15000) */ timeout?: number; } export interface ExecResult { stdout: string; stderr: string; exitCode: number; } /** * Central wrapper for all tool subprocess invocations. * Returns normalized stdout/stderr/exitCode. */ export declare function exec(opts: ExecOptions): ExecResult; /** Run a command via bash -c */ export declare function execShell(command: string, opts?: Omit): ExecResult; /** Format an ExecResult as a human-readable string for tool output */ export declare function formatResult(result: ExecResult): string; //# sourceMappingURL=agentexec.d.ts.map