import type { RefObject } from "react";
export declare function useGetScrollableParent<T extends HTMLElement = any>(): {
    ref: RefObject<T>;
    scrollableParent: HTMLElement | (Window & typeof globalThis) | undefined;
};
export declare function useGetScrollableParent<T extends HTMLElement = any>(params: {
    ref: RefObject<T>;
}): {
    scrollableParent: HTMLElement | (Window & typeof globalThis) | undefined;
};
