/* eslint-disable @typescript-eslint/ban-types */ import type { DefineComponent } from "@vue/runtime-core"; import type { Ref } from "vue-demi"; import type { Option, InitOptions, UpdateOptions, EChartsType, Emits } from "./types"; declare const LOADING_OPTIONS_KEY = "ecLoadingOptions"; declare const THEME_KEY = "ecTheme"; declare const INIT_OPTIONS_KEY = "ecInitOptions"; declare const UPDATE_OPTIONS_KEY = "ecUpdateOptions"; declare type ChartProps = { loading?: boolean; loadingOptions?: Record; autoresize?: boolean; option?: Option; theme?: string | Record; initOptions?: InitOptions; updateOptions?: UpdateOptions; group?: string; manualUpdate?: boolean; }; type MethodNames = | "getWidth" | "getHeight" | "getDom" | "getOption" | "resize" | "dispatchAction" | "convertToPixel" | "convertFromPixel" | "containPixel" | "getDataURL" | "getConnectedDataURL" | "appendData" | "clear" | "isDisposed" | "dispose" | "setOption"; declare type ChartMethods = Pick; declare const Chart: DefineComponent< ChartProps, { root: Ref; chart: Ref; }, {}, {}, ChartMethods, {}, {}, Emits >; export default Chart; export { INIT_OPTIONS_KEY, LOADING_OPTIONS_KEY, THEME_KEY, UPDATE_OPTIONS_KEY };