import * as React from 'react';
import type { ChartAnyPluginSignature } from '@mui/x-charts/internals';
import type { ChartPremiumApi } from "../context/index.js";
import type { AllPluginSignatures } from "../internals/plugins/allPlugins.js";
import type { PremiumPluginsPerSeriesType } from "../context/ChartPremiumApi.js";
/**
* Hook that instantiates a [[ChartPremiumApiRef]].
* The chart type needs to be given as the generic parameter to narrow down the API to the specific chart type.
* @example
* ```tsx
* const barApiRef = useChartPremiumApiRef<'bar'>();
* ```
* @example
* ```tsx
* // The API can be passed to the chart component and used to interact with the chart.
*
* ```
* @example
* ```tsx
* // The API can be used to access chart methods and properties.
* barApiRef.current?.getSeries();
* ```
*/
export declare const useChartPremiumApiRef: () => React.RefObject | undefined>;