import type { FileNode, FileProps } from '../types'; /** * 平铺列表与文件树叶子共用:是否展示下载操作(与 {@link FileItem} 行为一致) */ export declare const shouldShowFileDownloadAction: (file: FileNode, onDownload?: ((f: FileNode) => void) | undefined) => boolean; /** * 平铺列表与文件树叶子共用:是否展示预览操作(与 {@link FileItem} 行为一致) */ export declare const shouldShowFilePreviewAction: (file: FileNode, onPreview?: FileProps['onPreview']) => boolean;