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; }) => import("react/jsx-runtime").JSX.Element | null; declare const ChartTooltip: typeof RechartsPrimitive.Tooltip; declare const ChartTooltipContent: React.ForwardRefExoticComponent & { accessibilityLayer?: boolean; active?: boolean | undefined; includeHidden?: boolean | undefined; allowEscapeViewBox?: import("recharts/types/util/types").AllowInDimension; animationDuration?: import("recharts/types/util/types").AnimationDuration; animationEasing?: import("recharts/types/util/types").AnimationTiming; content?: import("recharts/types/component/Tooltip").ContentType | undefined; coordinate?: Partial; cursor?: boolean | React.ReactElement | React.SVGProps; filterNull?: boolean; defaultIndex?: number; isAnimationActive?: boolean; offset?: number; payloadUniqBy?: import("recharts/types/util/payload/getUniqPayload").UniqueOption> | undefined; position?: Partial; reverseDirection?: import("recharts/types/util/types").AllowInDimension; shared?: boolean; trigger?: "hover" | "click"; useTranslate3d?: boolean; viewBox?: import("recharts/types/util/types").CartesianViewBox; wrapperStyle?: React.CSSProperties; } & React.ClassAttributes & React.HTMLAttributes & { hideLabel?: boolean; hideIndicator?: boolean; indicator?: "line" | "dot" | "dashed"; nameKey?: string; labelKey?: string; }, "ref"> & React.RefAttributes>; declare const ChartLegend: typeof RechartsPrimitive.Legend; declare const ChartLegendContent: React.ForwardRefExoticComponent & React.HTMLAttributes & Pick & { hideIcon?: boolean; nameKey?: string; }, "ref"> & React.RefAttributes>; export { ChartContainer, ChartTooltip, ChartTooltipContent, ChartLegend, ChartLegendContent, ChartStyle, };