import React from 'react'; import { ScrollContainerState } from '../interfaces'; export declare type ScrollerRef = Window | HTMLElement | null; export default function useScrollTop(scrollContainerStateCallback: (state: ScrollContainerState) => void, smoothScrollTargetReached: (yes: true) => void, scrollerElement: any, scrollerRefCallback?: (ref: ScrollerRef) => void, customScrollParent?: HTMLElement): { scrollerRef: React.MutableRefObject; scrollByCallback: (location: ScrollToOptions) => void; scrollToCallback: (location: ScrollToOptions) => void; };