import type { ToolCallPresentation } from "../ToolCallPresentation.js"; import type { AgentMessage } from "../types.js"; import type { AssistantMessage as ProviderAssistantMessage, ToolCall as ProviderToolCall } from "@slopus/rig-execution"; /** Durable per-call data produced by the tool that owns the call. */ export interface ToolCallDurableDetails { presentation?: ToolCallPresentation; } export declare function assistantMessageToAgentMessage(message: ProviderAssistantMessage, messageId: string, attribution: { providerId: string; requestedModelId: string; }, toToolCallDetails?: (toolCall: ProviderToolCall) => ToolCallDurableDetails | undefined): AgentMessage;