import type { RefObject } from 'react'; export declare function useLatest(something: T): import("react").MutableRefObject; export declare function useEventListener(type: K, fn: (evt: HTMLElementEventMap[K]) => void, getContainer?: () => HTMLElement | null, options?: AddEventListenerOptions): void; export declare function useObserverListening(scrollBoxRef: RefObject, callback: () => void): void; export declare function useDebounceCallback(callback: (...args: CallbackArguments) => void, { leading, maxWait, wait, }: { leading?: boolean; maxWait?: number; wait?: number; }): (...args: CallbackArguments) => void;