import { default as React } from 'react'; import { AppTheme, Annotation, MDAnnotation, TableAnnotation, ToolsConfig } from '../core/types'; export interface StaticFileReaderProps { fileUrl?: string; fileType?: string; fileName?: string; token?: string; initialPage?: number; annotations?: (Annotation | MDAnnotation | TableAnnotation)[]; data?: any; eventsEmit?: (name: string, data?: any, innerFn?: any) => void; styles?: { theme?: AppTheme; mode?: 'light' | 'dark'; }; tools?: ToolsConfig; customComponents?: { LoadingComponent?: React.ComponentType<{ status: string; theme: AppTheme; }>; ErrorComponent?: React.ComponentType<{ error: string; theme: AppTheme; }>; }; className?: string; headerClass?: string; contentClass?: string; } /** * StaticFileReader组件 * 静态文件读取器,支持从URL加载文件并解析显示 * * @param props - 组件属性 * @returns StaticFileReader组件 */ declare const StaticFileReader: React.FC; export default StaticFileReader;