import type { CodeModeToolDefinition } from "./types.js"; export declare const commandOutputFormatterSource = "(value, plain) => {\n const metadata = Object.fromEntries(Object.entries(value).filter(([key]) =>\n key !== \"output\" && key !== \"chunk_id\" && key !== \"wall_time_seconds\"\n && (key !== \"original_token_count\" || value.truncated)));\n const projected = plain ? metadata : { output: value.output, ...metadata };\n let text;\n try { text = JSON.stringify(projected); } catch { text = String(projected); }\n return plain ? text + \"\\nOutput:\\n\" + value.output : text;\n}"; export declare function withCommandOutput(source: string, tools: CodeModeToolDefinition[]): string;