import { n as Format } from "../../format-Dq02z5ZL.js"; import { t as FlowStrings } from "../../strings-flow-CZ4tjzEl.js"; import { n as MiniBarDatum } from "../../index-CgMum0ZL.js"; import { CSSProperties, ReactNode } from "react"; //#region src/charts/waterfall/index.d.ts type WaterfallDatum = MiniBarDatum; /** Endpoints + split gains/losses. */ declare function waterfallSummary(data: readonly WaterfallDatum[], open: number, fmt: (n: number) => string, strings: FlowStrings): string; interface WaterfallProps { /** Signed deltas in order. */ data: readonly WaterfallDatum[]; /** Opening level (prior-period close). */ open?: number | undefined; /** Zero-anchored closing total bar — the key back to reality. */ totalBar?: boolean | undefined; /** `"delta"` = signed value labels (deterministic drop-out). */ label?: "none" | "delta" | undefined; /** `"down"` = decreases are good (cost breakdowns). */ positive?: "up" | "down" | undefined; domain?: readonly [number, number] | undefined; width?: number | undefined; height?: number | undefined; format?: Format | undefined; locale?: string | string[] | undefined; strings?: FlowStrings | 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; id?: string | undefined; className?: string | undefined; style?: CSSProperties | undefined; children?: ReactNode | undefined; } declare function Waterfall(props: WaterfallProps): ReactNode; //#endregion export { Waterfall, WaterfallDatum, WaterfallProps, waterfallSummary };