/** * ContentTransformer - Handle message sanitization and content transformations * * Responsibilities: * - Sanitize messages for OpenAI API compatibility * - Extract thinking control tags from messages * - Detect think keywords in user prompts * - Transform tools between Anthropic and OpenAI formats */ import type { Message, AnthropicTool, OpenAITool, ThinkingConfig } from './types'; export declare class ContentTransformer { private defaultThinking; constructor(defaultThinking?: boolean); /** * Sanitize messages for OpenAI API compatibility */ sanitizeMessages(messages: Message[]): Message[]; /** * Transform Anthropic tools to OpenAI tools format */ transformTools(anthropicTools: AnthropicTool[]): OpenAITool[]; /** * Check if messages contain thinking control tags */ hasThinkingTags(messages: Message[]): boolean; /** * Extract thinking control tags from user messages */ extractThinkingControl(messages: Message[]): ThinkingConfig; /** * Detect Anthropic-style "think" keywords in user prompts */ detectThinkKeywords(messages: Message[]): { thinking: boolean; effort: string; keyword: string; } | null; } //# sourceMappingURL=content-transformer.d.ts.map