import { o as Orientation, r as SummaryStrings } from "./summary-D8UEQXYr.js"; import { n as Format } from "./format-Dq02z5ZL.js"; import { CSSProperties, ReactNode } from "react"; //#region src/core/strings-thermometer.d.ts type ThermometerStrings = Pick; //#endregion //#region src/charts/thermometer/index.d.ts interface ThermometerProps { value: number; /** Goal tick (the fundraising story). */ target?: number | undefined; /** Tick count (even over domain) or explicit values. Default 5. */ ticks?: number | readonly number[] | undefined; orientation?: Orientation | undefined; /** Draw the bulb reservoir (default true). */ bulb?: boolean | undefined; /** Calibrated range. Default [0, 100] — a stated range, never auto-fit. */ domain?: readonly [number, number] | undefined; /** Print the value numeral at the fill line. */ label?: "none" | "value" | undefined; /** Override the fill/bulb color (default --mc-accent). */ color?: string | undefined; width?: number | undefined; height?: number | undefined; fontSize?: number | undefined; format?: Format | undefined; locale?: string | string[] | undefined; strings?: ThermometerStrings | 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; } /** * The calibrated range this chart will actually draw. `domain` is a caller * prop; a non-finite bound is not a range, and the summary used to format it * straight into the accessible name ("50 on a NaN–100 scale") while the tube * beside it rendered a perfectly ordinary 0–100 instrument. Announced scale and * painted scale have to be the same scale, so both resolve through here and a * missing bound falls back to the documented default. */ declare function resolveThermometerDomain(domain?: readonly [number, number]): readonly [number, number]; declare function thermometerSummary(value: number, opts?: { domain?: readonly [number, number] | undefined; target?: number | undefined; strings?: ThermometerStrings | undefined; format?: Format | undefined; locale?: string | string[] | undefined; }): string; declare function Thermometer(props: ThermometerProps): ReactNode; //#endregion export { ThermometerStrings as a, thermometerSummary as i, ThermometerProps as n, resolveThermometerDomain as r, Thermometer as t };