interface OverflowStyle { width?: string; minHeight: string; overflow: string; paddingRight?: string; } declare class ScrollStopper { protected initialStyle: OverflowStyle; protected target: HTMLElement; constructor(); protected resolveInitialStyle(style: CSSStyleDeclaration): void; protected disabledStyle: OverflowStyle; protected _scrollBarWidth: undefined | number; protected get scrollbarWidth(): number; enableScrolling(): void; disableScrolling(): void; } export declare function createScrollStopper(): ScrollStopper; export declare const useScrollStopper: () => void; export {};