/// import { AttachmentService } from "../../AttachmentService"; import { Attachment } from "../../util/attrs"; interface Props { attachment: Attachment; attachmentService: AttachmentService; editable: boolean; onHidePreview: () => void; onRemove: () => void; onShowPreview: () => void; style?: "active" | "selected"; } export declare function AttachmentPreview(props: Props): JSX.Element; export declare const enum PreviewType { AUDIO = 0, IMAGE = 1, VIDEO = 2, NONE = 3 } export declare function getPreviewType(attachment: Attachment): PreviewType; export {};