/// <reference types="react" />
import { Attachment, PickWithOptional } from '@parlor/common';
type IAttachment = PickWithOptional<Attachment, 'id' | 'name' | 'description' | 'size' | 'signedUrl' | 'created_at' | 'mimeType'>;
export type AttachmentItemProps<T extends IAttachment = IAttachment> = {
    attachment: T;
    isShadowEnabled?: boolean;
    onClick?(attachment: T): void;
    onDelete?(attachment: T): void;
    profile?: {
        avatar?: string;
        name?: string;
    };
};
declare function AttachmentItemInner<T extends IAttachment = IAttachment>({ attachment, profile, isShadowEnabled, onClick, onDelete, }: AttachmentItemProps<T>): JSX.Element;
export declare const AttachmentItem: typeof AttachmentItemInner;
export {};
