export interface ScrollThrashOptions { /** Number of scroll direction reversals to trigger the event. */ reversalThreshold?: number; /** Time window in ms to track for thrashing. */ timeThresholdMs?: number; } export declare class ScrollThrashDetector { private scrollHistory; private readonly options; private readonly boundHandleScroll; private readonly boundHandleWindowScroll; private readonly boundHandleElementScrollDirect; private lastScrollTop; private elementListeners; private observer; private processingScroll; private static readonly DEFAULTS; constructor(options?: ScrollThrashOptions); private findScrollableElements; private attachElementListeners; private detachElementListeners; start(): void; stop(): void; private handleWindowScroll; private handleElementScroll; private processScroll; }