import * as react from 'react'; import { HTMLAttributes } from 'react'; interface SparklineProps extends HTMLAttributes { data: number[]; width?: number; height?: number; /** @deprecated Use `width` */ w?: number; /** @deprecated Use `height` */ h?: number; color?: string; curve?: 'linear' | 'step'; fill?: boolean; /** * Fill the container width instead of a fixed `width` (measured with a * ResizeObserver, plotted in pixels so dots stay round). `height` still * applies. Off by default — Sparkline stays a fixed micro-chart for table * cells. */ fluid?: boolean; /** Hover + keyboard interactivity: point dot, tooltip, arrow navigation, announcements. */ interactive?: boolean; /** Formats tooltip values and announcements. Defaults to en-US number formatting. */ formatValue?: (value: number) => string; /** Accessible name when `interactive` (default "Sparkline"). */ ariaLabel?: string; } declare const Sparkline: react.ForwardRefExoticComponent>; export { Sparkline, type SparklineProps };