import { SeverityKey } from '../../tokens/colors'; import { SparklineNormalize } from './sparklineGeometry'; export interface SparklineProps { /** Series values, oldest first. */ data: readonly number[]; /** `line` draws a stroke only; `area` adds a gradient fill beneath it. */ variant?: 'line' | 'area'; /** * `minMax` stretches the series across the full height, exaggerating small * movements. `zeroMax` anchors the baseline at zero, keeping magnitude honest. */ normalize?: SparklineNormalize; /** * A categorical series slot index (0-6), a severity key, or `'accent'`. * * Use `'accent'` when the sparkline shows a single measure rather than one * series among several - a volume column in a table, a trend beside a KPI. * Series slots encode identity, and borrowing slot 0 for a lone measure * implies a categorical relationship that is not there. */ tone?: number | SeverityKey | 'accent'; showEndPoint?: boolean; width?: number; height?: number; strokeWidth?: number; /** * Accessible description, e.g. "Alert volume, last 7 days, trending up". * Required: a sparkline conveys information and must not be invisible to * assistive technology. */ label: string; } export declare function Sparkline({ data, variant, normalize, tone, showEndPoint, width, height, strokeWidth, label, }: SparklineProps): import("react").JSX.Element | null;