import { n as Format } from "./format-Dq02z5ZL.js"; import { t as ScalarStrings } from "./strings-scalar-C_B3azW6.js"; import { CSSProperties, ReactNode } from "react"; //#region src/charts/trend-arrow/geometry.d.ts type TrendDirection = "up" | "down" | "flat"; type TrendGlyph = "arrow" | "triangle" | "chevron"; //#endregion //#region src/charts/trend-arrow/index.d.ts /** Resolved TrendArrow model — shared by the static and interactive entries. */ interface TrendArrowModel { direction: TrendDirection; /** `pos` | `neg` | `flat` (drives the glyph's valence ink). */ valence: "pos" | "neg" | "flat"; /** Formatted magnitude (`12%`), or `—` for non-finite input. */ display: string; /** Direction + magnitude, never valence. */ summary: string; } /** Pure resolution of direction/valence/summary from props. */ declare function trendArrowModel(props: TrendArrowProps): TrendArrowModel; interface TrendArrowProps { /** Signed change; sign → direction, magnitude only via `showValue`/summary. */ value: number; /** Noise floor: |value| ≤ flatBand renders flat — tiny wiggles aren't movement. */ flatBand?: number | undefined; /** `"arrow"` (default legibility) | `"triangle"` (dense cells) | `"chevron"` (inline text). */ glyph?: TrendGlyph | undefined; /** Append the formatted value in a right gutter. */ showValue?: boolean | undefined; /** Which direction is "good" — flips only the color, never the glyph. */ positive?: "up" | "down" | undefined; format?: Format | undefined; locale?: string | string[] | undefined; /** Swappable summary templates (defaults to EN). */ strings?: ScalarStrings | 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 TrendArrow(props: TrendArrowProps): ReactNode; //#endregion export { trendArrowModel as i, TrendArrowModel as n, TrendArrowProps as r, TrendArrow as t };