import type { RuntimeResponse } from "./types.js"; export declare function toCodeModeToolResult(response: RuntimeResponse, maxTokens?: number): { content: ({ type: "text"; text: string; } | { type: "image"; data: string; mimeType: string; })[]; details: { codeMode: boolean; cellId: string; status: "result" | "terminated" | "yielded"; traces?: import("./types.js").RuntimeToolTrace[]; droppedTraceCount?: number; scriptError?: string; }; }; export declare function formatRunningExecSessionGuidance(sessionId: number): string;