import { AttachmentProp } from './types'; import * as React from 'react'; export declare const Provider: typeof import("../ThemeProvider/ThemeProvider").default; export declare type MouseClickEvent = React.MouseEvent; export interface Props { children?: any; className?: string; download?: any; id: string; imageUrl: string; mime: string; name: string; onClick: (event: MouseClickEvent, attachmentProp: AttachmentProp) => void; onRemoveClick: (event: Event, attachmentProp: AttachmentProp) => void; size: number | string; target?: string; truncateLimit: number; type: 'action' | 'link'; url: string; } export declare class Attachment extends React.PureComponent { static defaultProps: { mime: string; name: string; onClick: () => void; onRemoveClick: () => void; truncateLimit: number; type: string; }; static contextTypes: { theme: () => void; }; static Provider: typeof import("../ThemeProvider/ThemeProvider").default; getAttachmentProps: () => AttachmentProp; handleOnClick: (event: React.MouseEvent) => void; handleOnRemoveClick: (event: Event) => void; render(): JSX.Element; } declare const StyledAttachment: any; export default StyledAttachment;