import { RefObject } from 'react'; import { Chart } from '../core/Chart'; import { SeriesOptions, SeriesUpdateData, ZoomOptions, Bounds } from '../types'; import { ChartBindingOptions } from '../bindings/shared'; export interface UseVeloPlotOptions extends ChartBindingOptions { } export interface UseVeloPlotReturn { chart: Chart | null; isReady: boolean; error: Error | null; bounds: Bounds | null; addSeries: (options: SeriesOptions) => void; updateSeries: (id: string, data: SeriesUpdateData) => void; removeSeries: (id: string) => void; zoom: (options: ZoomOptions) => void; resetZoom: () => void; } export declare function useVeloPlot(containerRef: RefObject, options?: UseVeloPlotOptions): UseVeloPlotReturn;