import { init, registerMap } from 'echarts/core'; import type { OfficeChartModel } from '../officeChartTypes'; /** 图表视图实际使用的窄 ECharts 运行时。 */ export type OfficeEChartsRuntime = { /** 创建 ECharts 实例。 */ init: typeof init; /** 注册地图 GeoJSON 数据。 */ registerMap: typeof registerMap; }; /** 在真实绘图前加载并注册当前模型需要的 ECharts 能力。 */ export declare function ensureOfficeEChartsRuntime(chart: OfficeChartModel): Promise;