import React from 'react';
import type { FileNode } from '../../types';
export interface FileItemProps {
    file: FileNode;
    onClick?: (file: FileNode) => void;
    onDownload?: (file: FileNode) => void;
    onPreview?: (file: FileNode) => void;
    onShare?: (file: FileNode, ctx?: {
        anchorEl?: HTMLElement;
        origin: 'list' | 'preview';
    }) => void;
    onLocate?: (file: FileNode) => void;
    prefixCls: string;
    hashId: string;
    locale?: Record<string, any>;
    /** 是否在元素上绑定 DOM id（默认 false） */
    bindDomId?: boolean;
    /**
     * 列表平铺（默认）或文件树叶子行
     * @description 树模式由 antd Tree 负责行选中，本组件仅渲染文件名与操作区
     */
    layout?: 'list' | 'tree';
}
export declare const FileItem: React.FC<FileItemProps>;
