/** * Attachment API group * Handles all attachment-related operations */ import type { Attachment, GetAttachmentOptions, ListAttachmentsOptions, CreateAttachmentRequest } from '../types'; import type { AsanaApiConnection } from '../index'; export declare class AttachmentGroup { private api; constructor(api: AsanaApiConnection); /** * Get a specific attachment */ getAttachment(options: GetAttachmentOptions): Promise; /** * List attachments for a task or project */ listAttachments(options: ListAttachmentsOptions): Promise; /** * Create an attachment * Note: For file uploads, the file should be base64 encoded or a file ID */ createAttachment(request: CreateAttachmentRequest): Promise; /** * Delete an attachment * Note: Treats "Unknown object" errors as success since delete is idempotent */ deleteAttachment(attachmentGid: string): Promise; } //# sourceMappingURL=Attachment.d.ts.map