import type Anthropic from "@anthropic-ai/sdk"; import type { AssistantContentPart, MessageContent } from "@use-crux/core"; import type { NativeAssistantTurn, ProviderToolCall } from "@use-crux/core/adapter"; /** Canonical assistant turn data read from Anthropic content blocks. */ export type AnthropicAssistantTurn = NativeAssistantTurn; /** Encode a canonical assistant turn, including signed thinking replay. */ export declare function encodeAnthropicAssistant(content: MessageContent | readonly AssistantContentPart[], toolCalls: readonly ProviderToolCall[]): Anthropic.MessageParam; /** Decode Anthropic response blocks for continuation and tool loops. */ export declare function readAnthropicAssistantTurn(message: Pick): AnthropicAssistantTurn;