import "./sparkline.css"; import type * as React from "react"; import { useRender } from "@base-ui/react/use-render"; import { type StyleProps } from "./style_props"; export interface SparklineProps extends StyleProps { /** Chronological; fewer than two values renders an empty box of the height, holding layout while * loading. */ data: readonly number[]; /** Default 32. */ height?: number; /** Default 100. */ width?: number; /** Defaults to the sheet's neutral ink. */ color?: string; /** Default false. */ filled?: boolean; /** The last value is a period still running: its segment is dashed, so a half-filled period never * reads as a fall. */ partial?: boolean; /** Drawn to the box it stands in — its whole width, and every pixel of height its parent gives it, at * least `height` — laid out at the box's own pixels so its stroke keeps its weight. */ fill?: boolean; testID?: string; ref?: React.Ref; render?: useRender.RenderProp; } /** A compact trend beside a metric: is it moving up or down? The viewport is drawn at size even without a * series, so the row does not reflow when data lands. */ export declare function Sparkline(props: SparklineProps): React.ReactElement>;