import { type RefObject } from 'react';
export type AutoHideOptions = {
    scrollRef?: RefObject<HTMLElement>;
    addToHeight?: number;
};
export declare const useAutoHide: <E extends HTMLElement = HTMLElement>(options?: AutoHideOptions) => {
    ref: RefObject<E>;
};
