import * as React from 'react'; import { type ChartsSlotProps, type 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 `ChartsDataProvider` or `ChartsDataProviderPro`. * @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): import("react/jsx-runtime").JSX.Element; export {};