import { n as MicroDatum } from "../../interactive-C4bxY0ip.js"; import { DeltaProps } from "./index.js"; //#region src/charts/delta/client.d.ts interface InteractiveDeltaProps extends DeltaProps { /** Announce + pulse when the value changes (default true). */ live?: boolean; /** * Opt-in entrance motion (default `false`): the glyph fades and scales in * when the chart first mounts client-side. Independent of the existing * value-change pulse (a separate CSS animation on the number span, not the * glyph svg) — the two never touch the same element. Inert on the server * and on hydrated server HTML; `prefers-reduced-motion` always wins. */ animate?: boolean; /** * The active (hovered / keyboard-focused) unit changed. One value = 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 glyph, and never twice when hover and focus overlap. */ onActive?: ((datum: MicroDatum | null) => void) | undefined; /** Click/tap or Enter/Space on the glyph — `{ index: 0, value: the signed change }`. */ onSelect?: ((datum: MicroDatum | null) => void) | undefined; } declare function Delta({ live, animate, onActive, onSelect, ...props }: InteractiveDeltaProps): React.ReactNode; //#endregion export { Delta, InteractiveDeltaProps };