import type { Api, AssistantMessage, Message, Model, ThinkingContent } from "../types.js"; /** Decide whether a readable foreign thinking block can use the target's structured format. */ export type PreserveCrossModelThinking = (thinking: ThinkingContent, target: Model, source: AssistantMessage) => boolean; /** * Normalize tool call ID for cross-provider compatibility. * OpenAI Responses API generates IDs that are 450+ chars with special characters like `|`. * Anthropic APIs require IDs matching ^[a-zA-Z0-9_-]+$ (max 64 chars). */ export declare function transformMessages(messages: Message[], model: Model, normalizeToolCallId?: (id: string, model: Model, source: AssistantMessage) => string, preserveCrossModelThinking?: PreserveCrossModelThinking): Message[]; //# sourceMappingURL=transform-messages.d.ts.map