export interface WheelScrollState { accumulator: number; lastAt: number; lastEdgeDir: number; lastEdgeAt: number; } export interface WheelScrollResult { nextTop: number; dir: -1 | 0 | 1; lines: number; } export type WheelDeltaMode = "auto" | "line" | "pixel"; export interface WheelScrollOptions { disableAcceleration?: boolean; } export declare function createWheelScrollState(): WheelScrollState; export declare function resetWheelScrollState(state: WheelScrollState): void; export declare function applyWheelScroll(state: WheelScrollState, deltaY: number, scrollTop: number, maxTop: number, now?: number, deltaMode?: WheelDeltaMode, options?: WheelScrollOptions): WheelScrollResult;