import { n as MicroDatum } from "../../interactive-C4bxY0ip.js"; import { a as ThermometerStrings, n as ThermometerProps } from "../../index-Bzy88mKH2.js"; //#region src/charts/thermometer/client.d.ts interface InteractiveThermometerProps extends ThermometerProps { live?: boolean; strings?: ThermometerStrings; /** * Opt-in entrance motion (default `false`): the fill rises from the bulb end * (vertical) or sweeps in from it (horizontal) when the chart first mounts * client-side. Independent of the existing CSS transition on the fill rect's * `y`/`height`/`width` (which eases live value updates, different properties * than the WAAPI `transform` this drives) — the two never run at once, since * the entrance fires once on mount before any value update. Inert on the * server and on hydrated server HTML; `prefers-reduced-motion` always wins. */ animate?: boolean; /** * Show the floating value chip on hover/focus (default `true`). `false` * suppresses only the chip. Inert when `label="value"` already prints it. */ readout?: boolean; /** * The active (hovered / keyboard-focused) unit changed. One reading = one unit, * so this fires once with `{ index: 0, … }` on pointer enter or focus and once * with `null` when that clears — never repeatedly while the pointer moves * inside the tube, and never twice when hover and focus overlap. */ onActive?: ((datum: MicroDatum | null) => void) | undefined; /** Click/tap or Enter/Space — `{ index: 0, value: the reading }`. */ onSelect?: ((datum: MicroDatum | null) => void) | undefined; } declare function Thermometer(props: InteractiveThermometerProps): React.ReactNode; //#endregion export { InteractiveThermometerProps, Thermometer };