import { ContextBreakdown } from "../../utils/token-estimator.js";
import { AgentRunContext, AiSdkContentPart } from "../agent-types.js";
import { 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, imageParts?: FilePart[]): any[];
declare function buildUserMessageContent(text: string, imageParts?: FilePart[]): string | AiSdkContentPart[];
//#endregion
export { buildConversationHistory, buildInitialMessages, buildUserMessageContent };