import { type UploadFile } from '../_common/js/upload/types'; import { AttachmentType } from '../chat-engine'; import { StyledProps } from '../common'; export interface TdAttachmentItem extends UploadFile { key?: string; fileType?: AttachmentType; description?: string; extension?: string; } export interface TdFileCardProps extends StyledProps { item: TdAttachmentItem; removable?: boolean; onFileClick?: (event: CustomEvent) => void; onRemove?: (event: CustomEvent) => void; disabled?: boolean; imageViewer?: boolean; cardType?: 'file' | 'image'; }