import * as React from 'react'; import { ChartsSlotProps, ChartsSlots } from "../internals/material/index.js"; import { ChartProviderProps } from "../context/ChartProvider/index.js"; import { ChartSeriesType } from "../models/seriesType/config.js"; import { ChartAnyPluginSignature } from "../internals/plugins/models/plugin.js"; import { AllPluginSignatures } from "../internals/plugins/allPlugins.js"; import { ChartsLocalizationProviderProps } from "../ChartsLocalizationProvider/index.js"; export type ChartDataProviderProps> = React.PropsWithChildren['pluginParams'] & Pick, 'seriesConfig' | 'plugins'>> & ChartsLocalizationProviderProps & { /** * Slots to customize charts' components. */ slots?: Partial; /** * The props for the slots. */ slotProps?: Partial; }; /** * Orchestrates the data providers for the chart components and hooks. * * Use this component if you have custom HTML components that need to access the chart data. * * Demos: * * - [Composition](https://mui.com/x/react-charts/composition/) * * API: * * - [ChartDataProvider API](https://mui.com/x/api/charts/chart-data-provider/) * * @example * ```jsx * * * * * * {'Custom Legend Component'} * * ``` */ declare function ChartDataProvider>(props: ChartDataProviderProps): React.JSX.Element; declare namespace ChartDataProvider { var propTypes: any; } export { ChartDataProvider };