/** * Scroll Humanization Module * Simulates realistic scroll behavior for 2024-2025 * * Features: * - Natural scroll momentum physics * - Reading-speed based scroll patterns * - Scroll pause at content sections * - Touch-like vs mouse wheel differentiation * - CDP-level scroll enhancement */ /** * Scroll configuration */ interface ScrollConfig { /** Base scroll speed in pixels per scroll event */ baseScrollAmount: number; /** Variance in scroll amount */ scrollVariance: number; /** Deceleration factor for momentum scrolling */ deceleration: number; /** Minimum velocity before stopping */ minVelocity: number; /** Reading pause probability (0-1) */ readingPauseProbability: number; /** Reading pause duration range in ms [min, max] */ readingPauseDuration: [number, number]; /** Delay between scroll events in ms */ eventDelay: number; } /** * Generate human-like scroll positions using momentum physics */ export declare const generateScrollPath: (startY: number, targetY: number, config?: Partial) => { y: number; delay: number; }[]; /** * Create a script that enhances scroll events in the browser */ export declare const createScrollHumanizationScript: () => string; /** * CDP-level human-like scroll function */ export declare const humanScroll: (client: unknown, targetY: number, config?: Partial) => Promise; /** * Scroll to element with human-like behavior */ export declare const humanScrollToElement: (client: unknown, selector: string, config?: Partial) => Promise; /** * Setup scroll humanization at CDP level */ export declare const setupScrollHumanization: (client: unknown) => Promise; export {}; //# sourceMappingURL=scroll-humanization.d.ts.map