import type { ContentBlock } from '@wrongstack/core/types'; interface AnthropicBlock { type: string; text?: string | undefined; id?: string | undefined; name?: string | undefined; input?: unknown | undefined; content?: unknown | undefined; tool_use_id?: string | undefined; is_error?: boolean | undefined; thinking?: string | undefined; signature?: string | undefined; source?: { type?: 'base64' | 'url' | undefined; media_type?: string | undefined; data?: string | undefined; url?: string | undefined; }; } export interface FromAnthropicOptions { /** * Called once for each block whose `type` the converter doesn't recognize. * The block is still dropped — this hook only exists so callers can wire * it into observability (event bus, logger) instead of silently losing * data. Anthropic ships new block types over time (`thinking`, * `server_tool_use`, etc.) and we want a way to find out without * inflating the conversion logic itself. */ onUnsupported?: (type: string, block: AnthropicBlock) => void; } export declare function contentFromAnthropic(blocks: AnthropicBlock[], opts?: FromAnthropicOptions): ContentBlock[]; export {}; //# sourceMappingURL=from-anthropic.d.ts.map