/** * @remarks \@since 5.0.0 */ export interface ScrollListenerHookOptions extends AddEventListenerOptions { /** * The event handler that will be fired when the page scrolls or if any child * element scrolls when the {@link capture} option is `true`. */ onScroll: EventListener; /** @defaultValue `true` */ enabled?: boolean; } /** * * @remarks \@since 5.0.0 Moved the `AddEventListenerOptions` to no longer be * part of an `options` object. */ export declare function useScrollListener({ once, passive, signal, capture, enabled, onScroll, }: ScrollListenerHookOptions): void;