/** * Locks page scroll on `document.body` while a tour is active, compensating * for the scrollbar's width so hiding it does not shift the layout. * * Mirrors the setup/teardown shape of {@link "./focus-guard".FocusGuard}: * `activate` captures and overrides the body's inline scroll-affecting * styles, `deactivate` restores exactly what was there before. */ export declare class ScrollLock { private document; private previousOverflow; private previousPaddingRight; private active; activate(document: Document | null | undefined): void; deactivate(): void; private scrollbarWidth; private computedPaddingRight; }