import * as React from "react"; import * as RechartsPrimitive from "recharts"; declare const THEMES: { readonly light: ""; readonly dark: ".dark"; }; export type ChartConfig = { [k in string]: { label?: React.ReactNode; icon?: React.ComponentType; } & ({ color?: string; theme?: never; } | { color?: never; theme: Record; }); }; declare const ChartContainer: React.ForwardRefExoticComponent & React.HTMLAttributes & { config: ChartConfig; children: React.ComponentProps["children"]; }, "ref"> & React.RefAttributes>; declare const ChartStyle: ({ id, config }: { id: string; config: ChartConfig; }) => React.JSX.Element; declare const ChartTooltip: typeof RechartsPrimitive.Tooltip; declare const ChartTooltipContent: React.ForwardRefExoticComponent & React.HTMLAttributes & { active?: boolean; payload?: any[]; label?: string; hideLabel?: boolean; hideIndicator?: boolean; indicator?: "line" | "dot" | "dashed"; nameKey?: string; labelKey?: string; labelFormatter?: (value: any, payload: any[]) => React.ReactNode; formatter?: (value: any, name: string, item: any, index: number, payload: any) => React.ReactNode; labelClassName?: string; color?: string; }, "ref"> & React.RefAttributes>; declare const ChartLegend: React.MemoExoticComponent<(outsideProps: RechartsPrimitive.LegendProps) => React.ReactPortal | null>; declare const ChartLegendContent: React.ForwardRefExoticComponent & React.HTMLAttributes & { payload?: any[]; verticalAlign?: "top" | "bottom"; hideIcon?: boolean; nameKey?: string; }, "ref"> & React.RefAttributes>; export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, }; //# sourceMappingURL=chart.d.ts.map