import React from 'react'; import { AttachmentFile } from '../types'; export type AttachmentFileListProps = { fileMap?: Map; onDelete: (file: AttachmentFile) => void; onPreview?: (file: AttachmentFile) => void | Promise; onDownload?: (file: AttachmentFile) => void; onRetry?: (file: AttachmentFile) => void; onClearFileMap?: () => void; /** E2E 测试 ID */ dataTestId?: string; }; export declare const AttachmentFileList: React.FC;