import type { Tool } from '../tools/tool-types.js'; import type { ContentBlock } from '../session/session-jsonl.js'; export interface ToolExecGroup { calls: { id: string; name: string; input: Record; }[]; parallel: boolean; } export declare function formatToolResultForSsePreview(truncatedResult: string, isError: boolean): string; export declare function skipToolCall(call: { id: string; name: string; }): ContentBlock; export declare function normalizeToolCallInput(call: { name: string; input: Record; }, toolsForRun: Tool[], ctx: { sessionKey: string; }): Record; export declare function syncAssistantToolUseInput(assistantContent: ContentBlock[], call: { id: string; input: Record; }): void; export declare function groupToolCallsForExecution(calls: { id: string; name: string; input: Record; }[], parallelSafeTools: Set, loadToolsMetaName?: string): ToolExecGroup[]; export declare function partitionLoadToolsFirst(calls: { id: string; name: string; input: Record; }[], loadToolsMetaName?: string): typeof calls; //# sourceMappingURL=agent-loop-tool-helpers.d.ts.map