import type { MessageBubbleData } from '../../Types/message';
import type { OpenAIChatContentPart, OpenAIChatMessage, OpenAIMessagesMapMessage, OpenAIMessagesMapOptions } from './types';
/** @internal exported for OpenClaw 归一化复用 */
export declare function extractTextFromContent(content: string | OpenAIChatContentPart[] | null | undefined): string;
/**
 * 将 OpenAI Chat Completions 风格的 messages 转为 MessageBubbleData[]
 */
export declare function mapOpenAIMessagesToMessageBubbleData(messages: OpenAIChatMessage[], options?: OpenAIMessagesMapOptions, mapMessage?: OpenAIMessagesMapMessage): MessageBubbleData[];
