/**
 * Utility for respecting the user's motion preference (prefers-reduced-motion)
 * in programmatic viewport animations (fitView, setCenter, etc.) that are NOT
 * covered by the CSS-level reduced-motion rule in styles.css.
 *
 * React Flow's JS-driven animations (duration parameter on fitView/setCenter)
 * bypass CSS media queries — they must be explicitly checked.
 */
/**
 * Returns true if the user prefers reduced motion.
 * Caches the result and updates on media query change.
 */
export declare function prefersReducedMotion(): boolean;
/**
 * Returns 0 when the user prefers reduced motion, otherwise returns the
 * desired duration. Use for all React Flow viewport animations.
 *
 * @example
 * fitView({ duration: getAnimationDuration(300) });
 * setCenter(x, y, { duration: getAnimationDuration(400) });
 */
export declare function getAnimationDuration(desiredMs: number): number;
//# sourceMappingURL=motion-preference.d.ts.map