import { type Static, Type } from "typebox"; import type { Context } from "../context.ts"; import type { AgentHarnessTool, ShellOutputTruncation } from "../types.ts"; import type { ExecutionToolContext } from "./tool-context.ts"; declare const bashSchema: Type.TObject<{ command: Type.TString; timeout: Type.TOptional; }>; export type BashToolInput = Static; export interface BashToolDetails { truncation?: ShellOutputTruncation; fullOutputPath?: string; } export interface BashExecution { command: string; cwd: string; env: Record; inheritEnv: boolean; } export type BashPrepare = (execution: BashExecution, toolContext: TContext, context: Context) => void | Promise; export interface BashToolOptions { commandPrefix?: string; prepare?: BashPrepare; } export declare function createBashTool(options?: BashToolOptions): AgentHarnessTool; export {}; //# sourceMappingURL=bash.d.ts.map