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 | null; declare const ChartTooltip: typeof RechartsPrimitive.Tooltip; declare const ChartTooltipContent: React.ForwardRefExoticComponent & React.HTMLAttributes & { active?: boolean; payload?: Array<{ name?: string; dataKey?: string; value?: number; type?: string; color?: string; payload?: Record; fill?: string; }>; label?: string; labelFormatter?: (label: string, payload: unknown[]) => React.ReactNode; formatter?: (value: unknown, name: string, item: unknown, index: number, payload: unknown) => React.ReactNode; hideLabel?: boolean; hideIndicator?: boolean; indicator?: "line" | "dot" | "dashed"; nameKey?: string; labelKey?: string; 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?: Array<{ value?: string; dataKey?: string; type?: string; color?: string; }>; verticalAlign?: "top" | "bottom"; hideIcon?: boolean; nameKey?: string; }, "ref"> & React.RefAttributes>; export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, };