import { use } from 'echarts/core' import EChartsV4 from 'echarts/lib/echarts' type UnionToIntersection = (U extends any ? (k: U) => void : never) extends ((k: infer I) => void) ? I : never type LastOf = UnionToIntersection T : never> extends () => (infer R) ? R : never type Push = [...T, V] type TuplifyUnion, N = [T] extends [never] ? true : false> = true extends N ? [] : Push>, L> type EChartsExtensionInstallRegisters = Parameters[0]>[0]>[0] export type EChartsExtensionRegisters = EChartsExtensionInstallRegisters extends never ? typeof EChartsV4 : EChartsExtensionInstallRegisters /** * To install Google Map component * @param registers echarts registers. If using v4, it should be echarts namespace. */ export declare function install(registers: EChartsExtensionRegisters): void export * from './types'