import type { UseIntervalFnInterval } from "../use-interval-fn/index.js"; import type { Pausable } from "../use-pausable/index.js"; import type { Position } from "../utils/basic.js"; export interface UseElementByPointReturns extends Pausable { /** * Whether the browser supports the API */ isSupported: boolean; /** * The element at the specified position */ element: E | null; } export interface UseElementByPointOptions extends Position { /** * Whether to return multiple elements * * @defaultValue false */ multiple?: M; /** * Whether to execute immediately * * @defaultValue true */ immediate?: boolean; /** * The interval to execute * * @defaultValue 'requestAnimationFrame' */ interval?: UseIntervalFnInterval; } /** * A React Hook that returns the element at a given point. */ export declare function useElementByPoint(options: UseElementByPointOptions): UseElementByPointReturns;