export declare type Attachment = { hash: string; hashType: string; filename: string; size: number; mime: string; data?: Uint8Array; width?: number; height?: number; }; export declare function attachmentToHTML(attachment: Attachment): string;