import { n as MicroDatum } from "../../interactive-C4bxY0ip.js"; import { t as ScalarStrings } from "../../strings-scalar-C_B3azW6.js"; import { r as ProgressProps } from "../../index-BWSAbAln.js"; //#region src/charts/progress/client.d.ts interface InteractiveProgressProps extends ProgressProps { /** Announce whole-percent changes (default true). */ live?: boolean; strings?: ScalarStrings; /** * Opt-in entrance motion (default `false`): the fill sweeps in from the left * when the chart first mounts client-side. Independent of the existing CSS * transition on the fill rect's `width` (which eases live value updates, a * different property 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`). It appears * only when the bar prints no label of its own (`label="none"`). */ readout?: boolean; /** * The active (hovered / keyboard-focused) unit changed. One bar = 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 mark, and never twice when hover and focus overlap. */ onActive?: ((datum: MicroDatum | null) => void) | undefined; /** Click/tap or Enter/Space — `{ index: 0, value: the fraction value/max }`. */ onSelect?: ((datum: MicroDatum | null) => void) | undefined; } declare function Progress(props: InteractiveProgressProps): React.ReactNode; //#endregion export { InteractiveProgressProps, Progress };