import type { IChartApi, ISeriesApi } from 'lightweight-charts'; import { RefObject } from 'react'; export interface ChartContextValue { /** * The chart api object. */ chart?: IChartApi; /** * The chart container `
` element. */ containerRef: RefObject; } export declare const ChartContext: import("react").Context; export declare const SeriesContext: import("react").Context | undefined>;