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/progress/index.d.ts /** Resolved Progress model — shared by the static and interactive entries. */ interface ProgressModel { /** Raw fraction value/max (may exceed 1); NaN when not computable. */ fraction: number; /** Fraction clamped to [0, 1] — what the bar renders. */ clamped: number; /** The label text per the `label` mode (undefined = no label). */ display: string | undefined; summary: string; } declare function progressModel(props: ProgressProps): ProgressModel; interface ProgressProps { value: number; /** Denominator; `value/max` is the rendered fraction. */ max?: number | undefined; /** Discrete-chunk track (e.g. 3-of-5 steps) — ratio becomes step count. */ segments?: number | undefined; /** `"percent"` (default) | `"value"` | `"fraction"` | `"none"`. */ label?: "percent" | "value" | "fraction" | "none" | undefined; /** `"down"` = burn-down wording (less is good); the bar stays factual. */ positive?: "up" | "down" | undefined; width?: number | undefined; height?: number | undefined; color?: string | undefined; format?: Format | undefined; locale?: string | string[] | undefined; 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 Progress(props: ProgressProps): ReactNode; //#endregion export { progressModel as i, ProgressModel as n, ProgressProps as r, Progress as t };