import { type MutableRefObject } from 'react'; import type { ECharts } from 'echarts'; export interface EChartsWrapperProps { theme?: string; } /** * Hook to initialize and attach an echart to the dom * * @param theme - theme applied to the echarts instance * @returns * - ref: React ref to attach to an html element to bind echarts to * - chartRef: ref to an Echarts instance */ export declare const useECharts: (theme?: string) => { chartRef: MutableRefObject; ref: import("react").RefObject; }; export type ChartRef = MutableRefObject; //# sourceMappingURL=useECharts.d.ts.map