export function useIntersection({ rootRef, rootMargin, disabled }: { rootRef: any; rootMargin: any; disabled: any; }): (boolean | import("react").Dispatch>)[];