import { AllOrFieldOrListOf, AttachmentField, AttachmentFilter, AttachmentRecord, FileUpload, TypedFetch } from "../typeDefs"; import { BaseResource } from "./BaseResource"; /** * Used to manage attachments on cards. Cards can have up to 100 attachments. * Attachments can be either just URLs, images with previews, or arbitrary files. * @see https://developers.trello.com/reference#attachments * @class */ export declare class Attachment extends BaseResource { getAttachment(params?: { fields?: AllOrFieldOrListOf; }): TypedFetch; getAttachments(params?: { fields?: AllOrFieldOrListOf; filter?: AllOrFieldOrListOf; }): TypedFetch; uploadAttachment(params: { name?: string; file?: FileUpload; mimeType?: string; url?: string; }): TypedFetch; deleteAttachment(): TypedFetch>; }