import { c as Value, n as SeriesStrings } from "../../summary-D8UEQXYr.js"; import { n as Format } from "../../format-Dq02z5ZL.js"; import { t as Curve } from "../../path--G6Lr9c1.js"; import { CSSProperties, ReactNode } from "react"; //#region src/charts/sparkline/index.d.ts interface SparklineProps { /** The series. `null`/`NaN`/`±Infinity` are gaps. `data` alone renders. */ data: readonly Value[]; /** Fixed y-domain `[min, max]`; auto-fit to the data when omitted. */ domain?: readonly [number, number] | undefined; /** viewBox width/height in integer units. */ width?: number | undefined; height?: number | undefined; /** Line shape. */ curve?: Curve | undefined; /** Fill the area under the line; switches to a zero-anchored domain. */ fill?: boolean | undefined; /** Constant normal-range `[lo, hi]` in data units, drawn lowest z. */ band?: readonly [number, number] | undefined; /** Endpoint dot (`"auto"`, default), `+` min/max dots (`"minmax"`), or `"none"`. */ dots?: "auto" | "minmax" | "none" | undefined; /** Direct value labels (no measurement): the endpoint (`"last"`) or the extremes (`"minmax"`). */ label?: "none" | "last" | "minmax" | undefined; /** Series color override (any CSS color); `prop > CSS var > preset`. */ color?: string | undefined; /** Accessible name. A string overrides the auto-summary; `false` = decorative. */ /** Swappable summary strings (defaults to EN) — the accessible name is * generated, so this is how a non-English host localizes it. */ strings?: SeriesStrings | undefined; /** Minimum in-chart label size, in viewBox units. Geometry sizes labels from * the mark and floors them at 7; this raises that floor and moves the * reserved gutter with it. A label the box cannot seat at the raised floor * drops rather than shrinking back under it. */ labelSize?: number | undefined; title?: string | undefined; summary?: string | false | undefined; /** Number formatting for the label + summary (`Intl` options or a fn). */ format?: Format | undefined; locale?: string | string[] | undefined; /** Line-drawing point cap: series longer than this (default 200) decimate to * an index-preserving min/max envelope — spikes and gaps survive, summaries * and dots still come from the raw data. `Infinity` opts out. */ maxPoints?: number | undefined; /** Explicit id root (stable ids across hydration). */ id?: string | undefined; className?: string | undefined; style?: CSSProperties | undefined; /** Annotation layer: ``, ``, `` …. */ children?: ReactNode; } declare function Sparkline(props: SparklineProps): ReactNode; //#endregion export { Sparkline, SparklineProps };