import React from "react"; import { AttachmentService } from "../../AttachmentService"; import { Attachment } from "../../util/attrs"; export interface Props { attachment: Attachment; attachmentService: AttachmentService; editable: boolean; onHidePreview: () => void; onRemove: () => void; style?: "active" | "selected"; } export declare class AttachmentImage extends React.PureComponent { render(): JSX.Element; } export declare function UploadProgressBarMask(props: { completed: number; style: "light" | "dark"; }): JSX.Element;