import React, { FC, RefObject } from 'react'; interface ScrollToTopButtonProps { scrollContainerRef?: RefObject; scrollContainerElement?: HTMLElement | Window; className?: string; } /** * Render a button that will scroll to the top of an html element, * given that the top of the html element is scrolled out of view. * * One of scrollContainerRef or scrollContainerElement must be provided. If both are provided, * scrollContainerRef takes precedence. * * @param {RefObject} scrollContainerRef - (optional) a ref to a scrollable html element * @param {HTMLElement} scrollContainerElement - (optional) a scrollable html element */ export declare const ScrollToTopButton: FC; export {};