import { type RefObject } from 'react'; /** * Attaches event listeners to the referenced component to enable calling * the HideTooltip method whenever a click event occurs outside of it or * the escape key is pressed. * * @param ref - Ref object of the component to attach the event listeners to. */ export declare const useRegisterTooltipHandlerCallbacks: (ref: RefObject) => void;