/// type UseScrolledToArgs = { threshold?: number; containerRef?: React.RefObject; }; type ScrollSource = HTMLElement | React.UIEvent; export declare function useScrolledTo({ threshold, containerRef }?: UseScrolledToArgs): { handleScroll: (source: ScrollSource) => void; scrolledToTop: boolean; scrolledToBottom: boolean; scrollable: boolean; }; export {};