import { n as MicroDatum } from "../../interactive-C4bxY0ip.js"; import { n as FillWordProps, o as FillWordStrings } from "../../index-Cj0_ftpS.js"; //#region src/charts/fill-word/client.d.ts interface InteractiveFillWordProps extends FillWordProps { /** Announce changes through a polite region (default true). */ live?: boolean; strings?: FillWordStrings; /** * Opt-in entrance motion (default `false`): the word wipes in left-to-right * when the chart first mounts client-side — matching the fill encoding. * Inert on the server and on hydrated server HTML; `prefers-reduced-motion` * always wins. */ animate?: boolean; /** * Show the floating percent 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 word = 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 word, and never twice when hover and focus overlap. */ onActive?: ((datum: MicroDatum | null) => void) | undefined; /** The word was activated (click, tap, Enter or Space): `{ index: 0, value, label }` — the clamped fill fraction, named by the word. */ onSelect?: ((datum: MicroDatum | null) => void) | undefined; } declare function FillWord(props: InteractiveFillWordProps): React.ReactNode; //#endregion export { FillWord, InteractiveFillWordProps };