import type { Sandbox } from "../sandbox/interface"; import type { ToolConfig } from "../types"; export interface BashOutput { stdout: string; stderr: string; exit_code: number; interrupted: boolean; duration_ms: number; } export interface BashError { error: string; } export declare function createBashTool(sandbox: Sandbox, config?: ToolConfig): import("ai").Tool<{ command: string; timeout: number | null; description: string | null; run_in_background: boolean | null; }, BashOutput | BashError>;