import { type RefObject } from 'react'; /** Fires once the element comes within 100px of the bottom of `root`. */ export declare function useNearEnd(ref: RefObject, { active, root, onNear }: { active: boolean; root: HTMLElement | null; onNear: () => void; }): void;