export declare function lockScroll(doc?: Document): void; export declare function unlockScroll(doc?: Document): void; /** * Visible for testing. Resets the counter for the supplied document * (defaults to the global `document`). Tests that lock a custom * document (iframe, JSDOM alt-worker) must pass that same document * here, otherwise the stale entry lives until the document itself * is garbage collected. */ export declare function _resetScrollLock(doc?: Document): void;