/// <reference types="react" />
/**
 * This hook takes an html and checks if its outside its parent
 * If it is, it should move it so it can be totally visible inside the container
 */
export default function useContainedRepositioning(focused: boolean, getParent: (el: HTMLElement) => HTMLElement, { offset, scale, offsetLimit, }?: {
    /** The offset the element will be moved by from the closest bound */
    offset?: number;
    /** The scaled element width to be considered. usefull for when the focused element will change size */
    scale?: number;
    /** Limit offset */
    offsetLimit?: number;
}): {
    elementToCheck: import("react").RefObject<HTMLDivElement | null>;
};
