import { PersistedMessageUploadContext } from "./file-upload.js";
import { Part } from "@inkeep/agents-core";

//#region src/domains/run/services/blob-storage/attachment-artifacts.d.ts
type AttachmentArtifactRef = {
  artifactId: string;
  toolCallId: string;
  blobUri: string;
};
declare const MESSAGE_ATTACHMENT_TOOL_CALL_PREFIX = "message_attachment:";
declare function buildMessageAttachmentToolCallId(messageId: string): string;
declare function createAttachmentArtifacts(parts: Part[], ctx: PersistedMessageUploadContext): Promise<AttachmentArtifactRef[]>;
//#endregion
export { AttachmentArtifactRef, MESSAGE_ATTACHMENT_TOOL_CALL_PREFIX, buildMessageAttachmentToolCallId, createAttachmentArtifacts };