/** * charts/sparkline — a minimal inline trend line (no axes, grid, or tooltip). * * Lives on the `./charts` subpath so the core barrel stays free of the * charting runtime; pair it with surfaces that expose a chart slot * (e.g. StatCard's `chart` prop). */ import type { VariantProps } from "class-variance-authority"; import { chartColors, type ChartColorToken } from "../chartConfig.js"; import { sparklineVariants } from "./variants.js"; export * from "./variants.js"; export type SparklineProps = VariantProps & { /** The series, oldest first. Objects are unnecessary — it is one line. */ data: number[]; /** Semantic chart color (defaults to the primary chart slot). */ color?: keyof typeof chartColors | ChartColorToken; className?: string; }; export declare function Sparkline({ data, color, size, className }: SparklineProps): import("react").JSX.Element; //# sourceMappingURL=index.d.ts.map