import React from 'react'; import './index.less'; import type { OfficeChartModel } from './officeChartTypes'; /** Office图表视图组件属性。 */ type OfficeChartViewProps = { /** 图表渲染相关文案。 */ chart: OfficeChartModel; /** 宽度,单位为标准化渲染像素。 */ width: number; /** 高度,单位为标准化渲染像素。 */ height: number; /** 当前预览缩放比例。 */ zoom?: number; }; /** 使用统一图表模型渲染 Office 图表。 */ declare function OfficeChartViewComponent({ chart, width, height, zoom, }: OfficeChartViewProps): React.JSX.Element; export declare const OfficeChartView: React.MemoExoticComponent; export {};