import React from 'react'; import { FileNode, FileType, GroupNode } from '../types'; /** * 获取文件类型图标 */ export declare const getFileTypeIcon: (type: FileType, customIcon?: React.ReactNode, fileName?: string) => string | number | boolean | Iterable | React.JSX.Element | null | undefined; /** * 获取分组图标 - 如果分组中有不同类型的文件,显示文件夹图标 */ export declare const getGroupIcon: (group: GroupNode, groupType: FileType, customIcon?: React.ReactNode) => string | number | boolean | Iterable | React.JSX.Element | null | undefined; export declare const generateUniqueId: (node: FileNode | GroupNode) => string;