/** Sparkline — a compact inline trend, recharts Area internals (W2 §The Kit). */ import type { ComponentProps } from "react"; import { Area } from "recharts"; import { type KitStyled, type KitTone, type KitEngine, type KitRendered } from "../tokens.js"; interface SparklineOwnProps extends KitStyled { /** A list of numbers, or rows with a `valueKey`. */ data?: Array>; /** Field to read when `data` holds objects. */ valueKey?: string; height?: number; /** Placeholder shown when there is nothing renderable. */ emptyState?: string; /** Paints the line — a trend that is bad news is `danger`. */ tone?: KitTone; } /** Plus any recharts `` prop, handed straight to the curve. It arrives * AFTER the Kit's own defaults, so `stroke` wins, and BEFORE `dataKey`, which * the component owns — an overridden one would plot a field that is not there. */ export type SparklineProps = SparklineOwnProps & KitEngine, SparklineOwnProps, "dataKey">; export declare function Sparkline({ data, valueKey, height, emptyState, tone, style, children, pending, ...engine }: SparklineProps & KitRendered): import("react").JSX.Element; export {};