import { AttachmentField } from './attachment-field'; import { ActionButton } from './action-button'; import { ActionSelect } from './action-select'; import { OptionLabel } from '../type-aliases'; declare type ActionElement

= ActionButton | ActionSelect

; export declare class Attachment

{ callbackId: string; fallback?: string; color?: string; pretext?: string; authorName?: string; authorLink?: string; authorIcon?: string; title?: string; titleLink?: string; text?: string; fields?: AttachmentField[]; imageUrl?: string; thumbUrl?: string; footer?: string; footerIcon?: string; ts?: number; attachmentType?: string; actions?: (ActionElement

)[]; constructor(callbackId: string); setFallback: (value: string) => void; setColor: (value: string) => void; setPretext: (value: string) => void; setAuthorName: (value: string) => void; setAuthorLink: (value: string) => void; setAuthorIcon: (value: string) => void; setTitle: (value: string) => void; setTitleLink: (value: string) => void; setText: (value: string) => void; setImageUrl: (value: string) => void; setThumbUrl: (value: string) => void; setFooter: (value: string) => void; setFooterIcon: (value: string) => void; setTs: (value: number) => void; setAttachmentType: (value: string) => void; addField: (field: AttachmentField) => void; addAction: (actionElement: ActionElement

) => void; } export {};