import React from 'react';
type UseScrollDetectionWithAutoFocusParamsType = {
    parentElementRef?: React.RefObject<HTMLElement>;
};
type UseScrollDetectionWithAutoFocusReturnType = {
    handleScrollDetection: (element: HTMLElement | null | undefined) => void;
    hasScroll: boolean;
};
/**
 * Custom hook that determines if an element has scroll. Besides it will focus on the element if it has scroll and the active element is not inside the parent element.
 *
 * @returns An object containing the `hasScroll` boolean and the `handleScrollDetection` callback function to initialize the hook.
 */
export declare const useScrollDetectionWithAutoFocus: ({ parentElementRef, }: UseScrollDetectionWithAutoFocusParamsType) => UseScrollDetectionWithAutoFocusReturnType;
export {};
