import React from 'react';
import { AttachmentFile } from '../types';
interface FileListItemProps {
    file: AttachmentFile;
    onDelete: (file: AttachmentFile) => void;
    onPreview?: (file: AttachmentFile) => void | Promise<void>;
    onDownload?: (file: AttachmentFile) => void;
    onRetry?: (file: AttachmentFile) => void;
    className?: string;
    prefixCls?: string;
    hashId?: string;
    /**
     * 入场/退出动画状态，由父组件 AttachmentFileList 控制：
     * - `enter`：入场播放 slide-in-up
     * - `exit`：退出播放 slide-out-up，动画结束后由父组件真正卸载
     *
     * 等价于 framer-motion 的 AnimatePresence + variants={hidden/visible/exit}。
     */
    motionState?: 'enter' | 'exit';
    /**
     * 入场动画延迟（秒），等价于 framer-motion 父级 `staggerChildren: 0.1 * index`。
     */
    motionDelaySec?: number;
}
export declare const AttachmentFileListItem: React.FC<FileListItemProps>;
export {};
