/** * `:focus-visible` matches a programmatic focus when the patient was already * driving by keyboard, so without an explicit ring the browser draws its own * default outline around the whole panel — a different shape and colour in * each of the four themes. Paint the kit's ring instead: it also makes the * repaired focus visible, which is the point of moving it. */ export declare const stepRegionFocusClasses: string; /** * True when movement should be instant: the patient asked for reduced motion, * or the theme turned animation off (`.theme-accessible`, a zero * `--animation-duration`). */ export declare function motionIsOff(root: HTMLElement | null): boolean; /** * Brings `element` into view with one smooth scroll, and only when part of it * is hidden: a step that is already on screen does not move. The page's * scroll padding (a sticky PublicHeader sets it) and the booking's own * `scroll-margin-top` both narrow the area it must sit in, for the visibility * check and the scroll alike. Instant when motion is off. Returns whether it * scrolled. */ export declare function glideIntoView(element: HTMLElement | null, block: ScrollLogicalPosition): boolean; /** * Runs `done` once the page has stopped scrolling, or after `maxMs` where the * browser sends no `scrollend`. Returns a cancel function. */ export declare function afterScrollSettles(done: () => void, maxMs?: number): () => void; //# sourceMappingURL=step-focus.d.ts.map