import * as React from 'react'; import { ChartsSlotProps, ChartsSlots } from "../internals/material/index.js"; type SlotProps>> = { [key in keyof T]: React.ComponentProps }; export interface ChartsSlotsContextValue> = ChartsSlots> { slots: T; slotProps: Partial>; } export declare const ChartsSlotsContext: React.Context | null>; /** * Get the slots and slotProps from the nearest `ChartDataProvider` or `ChartDataProviderPro`. * @returns {ChartsSlotsContextValue} The slots and slotProps from the context. */ export declare function useChartsSlots> = ChartsSlots>(): ChartsSlotsContextValue; interface ChartsSlotsProviderProps { slots?: Partial; slotProps?: Partial; defaultSlots: ChartsSlots; } export declare function ChartsSlotsProvider(props: React.PropsWithChildren): React.JSX.Element; export {};