import { type ChartSize } from "../chartConfig.js"; export * from "./variants.js"; /** A single step in the waterfall. `value` is signed: positive rises, negative falls. */ export type WaterfallDatum = { id: string; label: string; /** Signed step magnitude. For a `"total"` step this is the absolute pillar height. */ value: number; /** `"delta"` (default) is a signed step; `"total"` is an absolute pillar from zero. */ kind?: "delta" | "total"; }; export type WaterfallChartProps = { data: readonly WaterfallDatum[]; /** Inject a value formatter (money, units …). Defaults to `formatChartValue`. */ valueFormatter?: (value: number) => string; /** Size preset — controls chart height (mirrors the sibling charts' convention). */ size?: ChartSize; /** `"standard"` shows per-bar value labels; `"compact"` drops them for tight panels. */ variant?: "standard" | "compact"; /** Accessible name for the chart image and the data-table caption. */ ariaLabel?: string; /** Render the accessible data table visibly instead of screen-reader-only. */ showDataTable?: boolean; }; /** * Waterfall chart — explains how a starting value becomes an ending value via a * sequence of signed steps. Each floating bar spans from the prior running total * to the next; `"total"` steps are absolute pillars from zero. Increases and * decreases are colored from theme tokens but are always disambiguated by the * per-bar value sign, the tooltip direction label, and the accessible table. */ export declare function WaterfallChart({ data, valueFormatter, size, variant, ariaLabel, showDataTable, }: WaterfallChartProps): import("react").JSX.Element; //# sourceMappingURL=index.d.ts.map