import { type ChartProApi } from "./ChartProApi.js";
/**
 * The `useChartProApiContext` hook provides access to the chart API.
 * This is only available when the chart is rendered within a chart or a `ChartDataProviderPro` component.
 * If you want to access the chart API outside those components, you should use the `apiRef` prop instead.
 * @example
 * const apiRef = useChartProApiContext<ChartProApi<'bar'>>();
 */
export declare function useChartProApiContext<Api extends ChartProApi>(): import("react").RefObject<Api>;