import React from 'react'; /** Office错误组件属性。 */ type OfficeErrorProps = { /** 面向调用方或用户展示的说明。 */ message: string; /** 最近文件来源仍可用时触发重新加载。 */ onRetry?: () => void; }; /** 展示阻止继续预览的错误信息。 */ declare function OfficeErrorComponent({ message, onRetry }: OfficeErrorProps): React.JSX.Element; export declare const OfficeError: React.MemoExoticComponent; export {};