/** * Shared attachment validation and processing utilities for chat services. * * Validates attachment size/count limits and converts IChatAttachmentInput[] * into IChatAttachmentMetadata[] for storage on messages. * * Requirements: 11.1, 11.2, 11.4, 11.5 */ import { IAttachmentConfig, IChatAttachmentInput, IChatAttachmentMetadata } from '../../interfaces/communication'; /** * Validate attachment limits and produce metadata entries. * * Checks count limit first, then per-file size limit. * Returns an array of IChatAttachmentMetadata with generated assetIds. * * @throws TooManyAttachmentsError if attachments.length > config.maxAttachmentsPerMessage * @throws AttachmentTooLargeError if any attachment exceeds config.maxFileSizeBytes */ export declare function validateAndPrepareAttachments(attachments: IChatAttachmentInput[], config?: IAttachmentConfig): IChatAttachmentMetadata[]; //# sourceMappingURL=attachmentUtils.d.ts.map