import { type RefObject } from "react";
import { type ReferenceType } from "@floating-ui/react";
/**
 * Hook to trigger a callback when a parent of the anchor element scrolls.
 * Listens for the custom GOODSTRAP_SCROLLED_EVENT event.
 *
 * @internal
 */
export declare function useCloseOnParentScroll(isOpen: boolean, onClose: () => void, anchorRef: RefObject<ReferenceType | null>): void;
//# sourceMappingURL=useCloseOnParentScroll.d.ts.map