/** * Page scroll lock for BootstrapSheet. * * When a sheet presents modally, page scrolling is disabled. On pages with a * visible scrollbar this would cause a layout shift, so the scrollbar width is * compensated with an equivalent body padding. * * The lock is shared by all sheets: it is applied when the first sheet takes * it and released only when the last one lets go, in any order. Releasing * restores the inline styles the body had before, rather than clearing them. */ export default class ScrollBarHelper { #private; /** * @param owner - Sheet element that holds the lock */ constructor(owner: HTMLElement); /** * Take the page lock, applying it if no other sheet holds it */ hide(): void; /** * Release the page lock, restoring the page if no other sheet holds it */ reset(): void; } //# sourceMappingURL=scrollbar.d.ts.map