import * as React from 'react'; import { ChartStore } from "../plugins/utils/ChartStore.js"; import { ChartAnyPluginSignature, ChartInstance, ChartPublicAPI, ConvertSignaturesIntoPlugins } from "../plugins/models/index.js"; import { UseChartBaseProps } from "./useCharts.types.js"; import { UseChartInteractionState } from "../plugins/featurePlugins/useChartInteraction/useChartInteraction.types.js"; import { ChartSeriesType } from "../../models/seriesType/config.js"; import { ChartSeriesConfig } from "../plugins/models/seriesConfig/index.js"; /** * This is the main hook that setups the plugin system for the chart. * * It manages the data used to create the charts. * * @param inPlugins All the plugins that will be used in the chart. * @param props The props passed to the chart. * @param seriesConfig The set of helpers used for series-specific computation. */ export declare function useCharts(inPlugins: ConvertSignaturesIntoPlugins, props: Partial>, seriesConfig: ChartSeriesConfig): { contextValue: { store: ChartStore & UseChartInteractionState; publicAPI: ChartPublicAPI; instance: ChartInstance; svgRef: React.RefObject; chartRootRef: React.RefObject; }; }; export declare function useChartApiInitialization(inputApiRef: React.RefObject | undefined): React.RefObject;