import type { AttachmentMetadata } from "@/attachments/types"; import { encodeAttachmentsForSend } from "@/attachments/service"; type ImageInput = AttachmentMetadata; export async function encodeImages( images?: ImageInput[] ): Promise | undefined> { return await encodeAttachmentsForSend(images); }