import { type NavigateDetail } from './router.js'; export interface ViewTransitionOptions { /** Skip the transition when reduced motion is requested. Default: true. */ respectReducedMotion?: boolean; } export declare function supportsViewTransitions(): boolean; export declare function prefersReducedMotion(): boolean; /** * Wrap a state change in a View Transition. Fallbacks when unsupported or when * the user prefers reduced motion. */ export declare function withViewTransition(update: () => void | Promise, opts?: ViewTransitionOptions): Promise; /** * Navigate inside a View Transition so the browser animates between DOM * snapshots. Drop-in replacement for `dispatchJorvelNavigate`. */ export declare function navigateWithTransition(detail: NavigateDetail, opts?: ViewTransitionOptions): Promise; //# sourceMappingURL=view-transitions.d.ts.map