/** * CSS-based slide transition definitions for the View Transitions API. * * Each transition defines keyframes for `::view-transition-old(slide)` * and `::view-transition-new(slide)` pseudo-elements. * * The View Transitions API captures the old DOM as an image, updates * the DOM, then animates from old to new using these keyframes. */ export interface SlideTransition { /** A unique name for this transition */ name: string; /** Duration in ms */ duration?: number; /** CSS easing function */ easing?: string; /** CSS for the old slide (exiting) — a CSS keyframes body */ oldKeyframes: Keyframe[]; /** CSS for the new slide (entering) — a CSS keyframes body */ newKeyframes: Keyframe[]; } export declare const fadeTransition: SlideTransition; export declare const slideTransition: SlideTransition; export declare const dropTransition: SlideTransition; export declare const noneTransition: SlideTransition; export declare const morphTransition: SlideTransition; /** * Resolve a transition name string to a SlideTransition object. */ export declare function resolveTransition(name: string | undefined): SlideTransition | undefined; /** * Inject a