import * as react from 'react'; import { CSSUIObject, PropGetter } from '@yamada-ui/core'; import * as Recharts from 'recharts'; import { ResponsiveContainerProps } from './chart.types.js'; import '@yamada-ui/utils'; interface ChartContext { styles: { [key: string]: CSSUIObject | undefined; }; } declare const ChartProvider: react.Provider; declare const useChartContext: () => ChartContext; interface UseChartProps { /** * Props passed down to recharts `ResponsiveContainer` component. */ containerProps?: ResponsiveContainerProps; } declare const useChart: ({ containerProps }: UseChartProps) => { getContainerProps: PropGetter>, Omit>; }; type UseChartReturn = ReturnType; declare const useLegend: () => { styles: { [key: string]: CSSUIObject | undefined; }; }; type UseLegendReturn = ReturnType; declare const useTooltip: () => { styles: { [key: string]: CSSUIObject | undefined; }; }; type UseTooltipReturn = ReturnType; export { ChartProvider, type UseChartProps, type UseChartReturn, type UseLegendReturn, type UseTooltipReturn, useChart, useChartContext, useLegend, useTooltip };