import type { Ref } from 'vue';
import echarts from './lib';
import type { EChartsOption, SetOptionOpts } from 'echarts';
import { UseChartsOptionType } from './types';
export * from './types';
export default function useChart(elRef: Ref<HTMLDivElement>, option?: UseChartsOptionType): {
    clear: () => void;
    setOption: (option: EChartsOption, opts?: boolean | SetOptionOpts, lazyUpdate?: boolean) => void;
    getInstance: () => echarts.ECharts | null;
    showLoading: () => void;
    hideLoading: () => void;
};
