import { default as React } from 'react'; import { AppTheme, Annotation, MDAnnotation, TableAnnotation, ToolsConfig } from '../core/types'; import { Styles } from '@mxmweb/zui'; export interface GientechStreamReaderProps { convertedFilePath: string; csrfToken?: string; fileName?: string; fileType: string; initialPage?: number; initialZoom?: number; totalPages?: number; annotations?: (Annotation | MDAnnotation | TableAnnotation)[]; userName?: string; userId?: string; pageSize?: number; streamApiUrl?: string; authorization?: string; eventsEmit?: (name: string, data?: any, innerFn?: any) => void; tools?: Partial; styles?: Styles; customComponents?: { LoadingComponent?: React.ComponentType<{ status: string; theme: AppTheme; }>; ErrorComponent?: React.ComponentType<{ error: string; theme: AppTheme; }>; }; className?: string; headerClass?: string; contentClass?: string; } /** * GientechStreamReader组件 * 基于stream接口的文件读取器,支持分页获取PDF数据并渲染 * 遵循adopter_develop规范,使用HOC模式封装core组件 * * @param props - 组件属性 * @returns GientechStreamReader组件 */ declare const GientechStreamReader: React.FC; export default GientechStreamReader;