import * as vue0 from "vue";
import { ComputedRef, Ref } from "vue";
import * as _vueuse_core0 from "@vueuse/core";
import { BarChart, BarSeriesOption, LineSeriesOption, PieSeriesOption } from "echarts/charts";
import { DatasetComponentOption, GridComponentOption, LegendComponentOption, TitleComponentOption, ToolboxComponentOption, TooltipComponentOption } from "echarts/components";
import { ComposeOption, ECharts, EChartsInitOpts, use } from "echarts/core";

//#region src/index.d.ts
type EChartsOption = ComposeOption<BarSeriesOption | LineSeriesOption | PieSeriesOption | TitleComponentOption | LegendComponentOption | TooltipComponentOption | GridComponentOption | ToolboxComponentOption | DatasetComponentOption>;
declare const baseChat: (typeof BarChart)[];
declare function register(ext: Parameters<typeof use>[0]): void;
declare function useECharts(options?: Ref<EChartsOption> | ComputedRef<EChartsOption> | EChartsOption, darkMode?: ComputedRef<boolean> | Ref<boolean>, initOptions?: EChartsInitOpts): {
  domRef: vue0.ShallowRef<HTMLElement | undefined, HTMLElement | undefined>;
  eChart: vue0.ShallowRef<ECharts | null, ECharts | null>;
  options: Ref<EChartsOption | undefined, EChartsOption | undefined>;
  onRender: _vueuse_core0.EventHookOn<ECharts>;
  onUpdate: _vueuse_core0.EventHookOn<EChartsOption>;
  onResize: _vueuse_core0.EventHookOn<{
    width: number;
    height: number;
  }>;
  onDispose: _vueuse_core0.EventHookOn<any>;
};
//#endregion
export { EChartsOption, baseChat, register, useECharts };