import { Attachment, Thing } from '@pod-os/core'; /** * Lists whatever is attached to the current thing */ export declare class PosAttachments { el: HTMLElement; resource: Thing; attachments: AttachmentListItem[]; /** * Adds an attachment visually to the list of attachments. * This only adds an entry to the list, it does not actually upload the attachment. * It is meant to be used after an attachment has been uploaded to update the view. * * @param attachment The attachment to add to the list. */ addToList(attachment: Attachment): Promise; componentWillLoad(): Promise; render(): any; } type AttachmentListItem = Attachment & { newlyAdded?: boolean; }; export {};