/** * `useReducedMotion` returns a `Ref` that is `true` when the * user has the OS-level `prefers-reduced-motion: reduce` pref enabled. * The ref updates reactively when the OS toggle flips. * * const reduce = useReducedMotion() * useAnimation( * ref, * tween({ opacity: [0, 1] }, { duration: 400 }), * { reducedMotion: reduce.value ? "always" : "never" }, * ) * * Outside a browser the ref stays `false`. The media-query subscription * is set up `onMounted` and torn down `onBeforeUnmount`. */ import { prefersReducedMotion } from "@kinem/core"; import { type Ref } from "vue"; export declare function useReducedMotion(): Ref; export { prefersReducedMotion }; //# sourceMappingURL=useReducedMotion.d.ts.map