import { type MutableRefObject } from 'react'; import type { ECharts } from 'echarts'; import { type Viewport } from '@iot-app-kit/core'; import { type UtilizedViewportType } from '../useViewport/useUtilizedViewport'; 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 useZoomableECharts: ({ gestures, theme, viewport, setViewport, viewportType, }: { gestures?: boolean; theme?: string; viewport?: Viewport; setViewport?: (viewport: Viewport, lastUpdatedBy?: string) => void; viewportType: UtilizedViewportType; }) => { chartRef: MutableRefObject; ref: import("react").RefObject; sizeRef: import("react-use/lib/useMeasure").UseMeasureRef; }; export type ChartRef = MutableRefObject; //# sourceMappingURL=useZoomableECharts.d.ts.map