import { MessageContent, Part } from "@inkeep/agents-core";

//#region src/domains/run/services/blob-storage/file-upload.d.ts
type MessageContentPart = NonNullable<MessageContent['parts']>[number];
interface UploadContext {
  tenantId: string;
  projectId: string;
  conversationId: string;
  messageId: string;
}
declare function uploadPartsFiles(parts: Part[], ctx: UploadContext): Promise<Part[]>;
declare function makeMessageContentParts(parts: Part[]): MessageContentPart[];
declare function hasFileParts(parts: Part[]): boolean;
//#endregion
export { UploadContext, hasFileParts, makeMessageContentParts, uploadPartsFiles };