import { c as Value, n as SeriesStrings } from "./summary-D8UEQXYr.js"; import { n as Format } from "./format-Dq02z5ZL.js"; import { CSSProperties, ReactNode } from "react"; //#region src/charts/sparkbar/geometry.d.ts type SparkBarMode = "bar" | "winloss"; //#endregion //#region src/charts/sparkbar/index.d.ts interface SparkBarProps { data: readonly Value[]; domain?: readonly [number, number] | undefined; width?: number | undefined; height?: number | undefined; /** `"bar"` (magnitude, default) or `"winloss"` (win/loss/tie streak: sign only). */ mode?: SparkBarMode | undefined; /** Empty fraction of each slot between bars (0–0.9). */ gap?: number | undefined; /** Direct endpoint value label (bar mode). */ label?: "none" | "last" | undefined; /** Which sign is the good outcome: `"up"` (default) or `"down"`. */ positive?: "up" | "down" | undefined; color?: string | undefined; /** 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; format?: Format | undefined; locale?: string | string[] | undefined; id?: string | undefined; className?: string | undefined; style?: CSSProperties | undefined; children?: ReactNode | undefined; } declare function SparkBar(props: SparkBarProps): ReactNode; //#endregion export { SparkBarProps as n, SparkBar as t };