/** Tells a run whether the browser already animated its navigation, e.g. a swipe back on a phone. */ export type UATransitions = { /** * An id for that navigation while its entry is current, else undefined. * Each handle cuts once per id. User input clears it, so later runs play. */ current(): number | undefined; }; export type NavigationLike = EventTarget & { currentEntry?: { key?: string; } | null; }; export type WindowLike = EventTarget & { location: { href: string; }; }; export declare function createUATransitions(navigation: NavigationLike | undefined, win: WindowLike | undefined): UATransitions; /** One store per document. It starts listening on first use. */ export declare function sharedUATransitions(): UATransitions;