/** * Wrap a state mutation in `document.startViewTransition` when supported. * Falls through to a synchronous call otherwise. Reduced-motion users get * instant swaps via the browser's own handling of `prefers-reduced-motion`. */ export declare const withViewTransition: (mutate: () => void | Promise) => Promise;