/** * Reference-counted body scroll lock for modals/drawers, keyed per instance. * * The first `lock` snapshots and overwrites `document.body` inline styles to * disable scrolling; the last matching `unlock` restores them. Safe to call * with an unknown key and in non-browser environments (no-ops). */ export declare const bodyScrollLock: { /** * Acquires the lock for `key`. The first active key applies the scroll lock. * @param {string} key - Unique per-instance lock key. * @returns {void} Nothing. */ lock(key: string): void; /** * Releases the lock for `key`. Restores body styles once no keys remain. * @param {string} key - Unique per-instance lock key. * @returns {void} Nothing. */ unlock(key: string): void; }; //# sourceMappingURL=bodyScrollLock.d.ts.map