import type { MouseEventHandler } from "react"; import { MousePosition } from "../hooks"; import { Nullable } from "../types/utils"; type ClickableElementProps = { onClick?: MouseEventHandler; }; export declare const isClickableElement: (props: ClickableElementProps) => boolean; type LinkItemProps = { href: string; }; type Props = ClickableElementProps | LinkItemProps; export declare const isLinkElement: (props: Props) => props is LinkItemProps; export declare const isInteractiveElement: (props: Props) => boolean; export declare const isMouseWithinElement: ({ x, y }: MousePosition, element: Nullable) => boolean; export {}; //# sourceMappingURL=element.d.ts.map