import { Ref } from "vue";
export declare const useEcharts: (basicOption: any, sources: any, useEvents: any) => {
    iframeRef: Ref<HTMLCanvasElement, HTMLCanvasElement>;
    loadingStatus: Ref<boolean, boolean>;
    renderingComponent: Ref<{
        _iframe: HTMLElement;
        fastEval(code: string): void;
        compileAndRunAsync(code: string): Promise<void>;
    }, {
        _iframe: HTMLElement;
        fastEval(code: string): void;
        compileAndRunAsync(code: string): Promise<void>;
    }>;
    initEcharts: (code: string) => void;
};
