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