export * from '../core/echarts.js'; export * from './api.js'; export { ZRColor as Color, Payload } from '../util/types.js'; export { LinearGradientObject } from 'zrender/lib/graphic/LinearGradient.js'; export { RadialGradientObject } from 'zrender/lib/graphic/RadialGradient.js'; export { PatternObject, ImagePatternObject, SVGPatternObject } from 'zrender/lib/graphic/Pattern.js'; export { ElementEvent } from 'zrender/lib/Element.js'; import type { ComponentOption, ECBasicOption as EChartsCoreOption } from '../util/types.js'; import type { AxisPointerOption } from '../component/axisPointer/AxisPointerModel.js'; import type { XAXisOption, YAXisOption } from '../coord/cartesian/AxisModel.js'; import type { AngleAxisOption, RadiusAxisOption } from '../coord/polar/AxisModel.js'; import type { ParallelAxisOption } from '../coord/parallel/AxisModel.js'; export { EChartsType as ECharts } from '../core/echarts.js'; export { EChartsCoreOption }; declare type Dependencies = { grid: XAXisOption | YAXisOption | AxisPointerOption; polar: AngleAxisOption | RadiusAxisOption; parallel: ParallelAxisOption; }; declare type DependenciesKeys = keyof Dependencies & string; declare type Arrayable = T | T[]; declare type GetMainType = Exclude; declare type ExtractComponentOption = OptionUnion extends { mainType?: ExtractMainType; } ? OptionUnion : never; declare type GetDependency = { [key in GetMainType]?: Arrayable>; }; declare type GetDependencies = GetDependency]>; declare type ComposeUnitOption = CheckMainType> & Omit & { [key in GetMainType]?: Arrayable>; } & GetDependencies>; declare type CheckMainType = string extends OptionUnionMainType ? never : {}; export declare type ComposeOption = ComposeUnitOption & { baseOption?: ComposeUnitOption; options?: ComposeUnitOption[]; };