import type { AttachmentRef } from '../types.js'; /** The files sent with a message. One the reader can download is a link to * it, so it can be saved or opened in a new tab like any other; a host that * previews attachments takes the plain click, and without one a picture opens * larger in the page. */ export default function MessageAttachments({ attachments, downloadUrl, onOpen, className, }: { attachments: AttachmentRef[]; downloadUrl?: ((id: string) => string) | undefined; onOpen?: ((attachment: AttachmentRef) => void) | undefined; className?: string | undefined; }): import("react").JSX.Element;