export interface ScrollToTopProps {
    /**
     * Distance from the top of the viewport (in pixels or CSS value)
     */
    top?: string | number;
    /**
     * Distance from the right of the viewport (in pixels or CSS value)
     * Default: 24
     */
    right?: string | number;
    /**
     * Distance from the bottom of the viewport (in pixels or CSS value)
     * Default: 24
     */
    bottom?: string | number;
    /**
     * Distance from the left of the viewport (in pixels or CSS value)
     */
    left?: string | number;
    /**
     * Minimum scroll position (in pixels) to show the button
     * Default: 400
     */
    showAfter?: number;
    /**
     * Custom className for the button
     */
    className?: string;
    /**
     * Size of the button
     * Default: 'medium'
     */
    size?: 'small' | 'medium' | 'large';
    /**
     * Scroll behavior: smooth animation or instant jump
     * Default: 'smooth'
     */
    behavior?: 'smooth' | 'instant';
    /**
     * Reference to a scrollable container element.
     * When provided, the component listens to this container's scroll instead of window.
     */
    scrollContainer?: React.RefObject<HTMLElement | null>;
}
/**
 * ScrollToTop — floating button that scrolls the page (or a container) to top.
 * Also auto-scrolls to top on route changes.
 */
export declare function ScrollToTop({ top, right, bottom, left, showAfter, className, size, behavior, scrollContainer, }?: ScrollToTopProps): import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | null;
export default ScrollToTop;
