import * as React from 'react'; import { Store } from '@mui/x-internals/store'; import { type ChartAnyPluginSignature, type ChartInstance, type ChartPublicAPI, type ChartState, type ConvertSignaturesIntoPlugins } from "../plugins/models/index.js"; import { type UseChartBaseProps } from "./useCharts.types.js"; import { type ChartSeriesType } from "../../models/seriesType/config.js"; import { type 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: Store, import("../plugins/corePlugins/useChartAnimation/index.js").UseChartAnimationSignature, import("../index.js").UseChartInteractionListenerSignature, ...TSignatures]>>; publicAPI: ChartPublicAPI; instance: ChartInstance; svgRef: React.RefObject; chartRootRef: React.RefObject; }; }; export declare function useChartApiInitialization(inputApiRef: React.RefObject | undefined): React.RefObject;