/**
 * Copyright 2025 Vybestack LLC
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *   http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
/**
 * @plan PLAN-20251127-OPENAIVERCEL.P06
 * @requirement REQ-OAV-MC-001 - Convert IContent to Vercel CoreMessage
 * @requirement REQ-OAV-MC-002 - Convert CoreMessage to IContent
 * @requirement REQ-OAV-MC-003 - Handle all message types (user, assistant, tool, system)
 * @requirement REQ-OAV-MC-004 - Handle tool calls and tool responses
 * @requirement REQ-OAV-MC-005 - Handle mixed content blocks
 */
import type { CoreMessage } from 'ai';
import type { IContent } from '../../services/history/IContent.js';
import type { ToolIdMapper } from '../../tools/ToolIdStrategy.js';
/**
 * Convert IContent array to Vercel AI SDK CoreMessage array
 * @param contents - The contents to convert
 * @param toolIdMapper - Optional mapper for tool IDs (for Kimi K2 format)
 * @param options - Optional conversion options
 */
export declare function convertToVercelMessages(contents: IContent[], toolIdMapper?: ToolIdMapper, options?: {
    includeReasoningInContext?: boolean;
}): CoreMessage[];
/**
 * Convert Vercel AI SDK CoreMessage array back to IContent array
 */
export declare function convertFromVercelMessages(messages: CoreMessage[]): IContent[];
