import type { BashToolDetails, ExtensionAPI } from "@earendil-works/pi-coding-agent"; import { Type } from "typebox"; type ShellParams = { command?: string; workdir?: string; timeout_ms?: number; login?: boolean; }; type ShellToolDetails = BashToolDetails & { command: string | undefined; normalizedCommand?: string; workdir: string; exitCode?: number | null; shell?: string; shellArgs?: string[]; notes?: string[]; }; export declare function createShellToolDefinition(): { name: string; label: string; description: string; parameters: Type.TObject<{ command: Type.TString; workdir: Type.TOptional; timeout_ms: Type.TOptional; login: Type.TOptional; }>; execute(_toolCallId: string, params: ShellParams, signal: AbortSignal | undefined, onUpdate: ((update: { content: Array<{ type: "text"; text: string; }>; details: unknown; }) => void) | undefined, ctx: { cwd: string; }): Promise<{ content: { type: "text"; text: string; }[]; details: ShellToolDetails; }>; renderCall(args: ShellParams | undefined, theme: any, context: any): import("@earendil-works/pi-tui").Component; renderResult(result: any, options: any, theme: any, context: any): import("@earendil-works/pi-tui").Component; }; export declare function registerShellTool(pi: ExtensionAPI): void; export {}; //# sourceMappingURL=tool.d.ts.map