import type { SVGProps } from 'react'; import React from 'react'; import { type PreviewKind } from '../services/preview'; import '../shared/ui/index.less'; /** 文件类型图标可接收的 SVG 属性。 */ type OfficeFileTypeIconProps = Omit, 'children'> & { /** 当前文件识别出的预览格式;为空时显示通用文件图标。 */ previewKind?: PreviewKind; }; /** 渲染与当前 Office 格式对应的彩色文件图标。 */ export declare function OfficeFileTypeIcon({ previewKind, className, ...props }: OfficeFileTypeIconProps): React.JSX.Element; export {};