import * as React from "react"; import { Bar, BarChart, Line, LineChart, Area, AreaChart, XAxis, YAxis, CartesianGrid, ResponsiveContainer, PieChart, Pie, Cell } from "recharts"; import type { LegendProps, TooltipProps } from "recharts"; export interface ChartConfig { [key: string]: { label: string; color?: string; }; } interface ChartContainerProps { config: ChartConfig; children: React.ReactNode; className?: string; } declare const ChartContainer: React.ForwardRefExoticComponent>; interface ChartTooltipProps extends TooltipProps { config?: ChartConfig; } declare const ChartTooltip: React.ForwardRefExoticComponent>; interface ChartTooltipContentProps { active?: boolean; payload?: any[]; label?: string; labelFormatter?: (value: any) => string; indicator?: "dot" | "line" | "dashed"; hideLabel?: boolean; nameKey?: string; config?: ChartConfig; } declare const ChartTooltipContent: React.ForwardRefExoticComponent>; interface ChartLegendProps extends LegendProps { config?: ChartConfig; } declare const ChartLegend: React.ForwardRefExoticComponent>; interface ChartLegendContentProps { payload?: any[]; config?: ChartConfig; } declare const ChartLegendContent: React.ForwardRefExoticComponent>; export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, Bar, BarChart, Line, LineChart, Area, AreaChart, XAxis, YAxis, CartesianGrid, ResponsiveContainer, PieChart, Pie, Cell, }; //# sourceMappingURL=chart.d.ts.map