/** Whether an element between `target` and the page itself can still scroll by `deltaY`. */ export declare function canScrollInside(target: EventTarget | null, deltaY: number): boolean; /** * Stops the page behind an overlay from scrolling by blocking wheel, touch and keyboard scrolling * that would reach it. Unlike hiding overflow or fixing the body, the page scrollbar stays exactly * as it is, so nothing shifts or flashes while the overlay fades in. Returns the unlock function. */ export declare function lockPageScroll(): () => void;