import { AgentRunContext, AiSdkContentPart } from "../agent-types.js";
import { ContextBreakdown, FilePart } from "@inkeep/agents-core";

//#region src/domains/run/agents/generation/conversation-history.d.ts
declare function buildConversationHistory(ctx: AgentRunContext, contextId: string, taskId: string, userMessage: string, streamRequestId: string | undefined, initialContextBreakdown: ContextBreakdown): Promise<{
  conversationHistory: string;
  contextBreakdown: ContextBreakdown;
}>;
declare function buildInitialMessages(systemPrompt: string, conversationHistory: string, userMessage: string, fileParts?: FilePart[]): Promise<any[]>;
declare function buildUserMessageContent(text: string, fileParts?: FilePart[]): Promise<string | AiSdkContentPart[]>;
//#endregion
export { buildConversationHistory, buildInitialMessages, buildUserMessageContent };