import { SmrtCollection } from '@happyvertical/smrt-core'; import { Attachment } from '../models/Attachment'; export declare class AttachmentCollection extends SmrtCollection { static readonly _itemClass: typeof Attachment; /** * Get attachments for a message */ getByMessage(messageId: string): Promise; /** * Get attachments by content type */ getByContentType(contentType: string): Promise; /** * Get image attachments */ getImages(messageId?: string): Promise; /** * Get PDF attachments */ getPdfs(messageId?: string): Promise; /** * Get inline attachments (embedded in message body) */ getInline(messageId: string): Promise; /** * Get regular attachments (not inline) */ getRegular(messageId: string): Promise; /** * Get attachments with external files */ getWithExternalFiles(): Promise; /** * Get total size of attachments for a message */ getTotalSize(messageId: string): Promise; /** * Get largest attachments */ getLargest(limit?: number): Promise; /** * Search attachments by filename */ searchByFilename(query: string): Promise; /** * Get attachments by extension */ getByExtension(extension: string): Promise; /** * Get attachment statistics */ getStats(): Promise<{ total: number; totalSize: number; byType: Record; inline: number; regular: number; }>; /** * Delete all attachments for a message */ deleteByMessage(messageId: string): Promise; findByTenant(tenantId: string): Promise; findGlobal(): Promise; findWithGlobals(tenantId: string): Promise; } //# sourceMappingURL=AttachmentCollection.d.ts.map