export interface UseHoverHandlers { /** Pointer entered the element. Wire to RN `onHoverIn` / `onMouseEnter`. */ onHoverIn: () => void; /** Pointer left the element. Wire to RN `onHoverOut` / `onMouseLeave`. */ onHoverOut: () => void; /** Web-only alias for `onHoverIn`. */ onMouseEnter: () => void; /** Web-only alias for `onHoverOut`. */ onMouseLeave: () => void; } export type UseHoverReturn = readonly [boolean, UseHoverHandlers]; /** * Returns hover state + handlers to spread onto a Pressable / View. * Cross-platform: handlers work for both RN's `onHoverIn`/`onHoverOut` and * DOM's `onMouseEnter`/`onMouseLeave`. * * @example * const [hovered, hoverHandlers] = useHover(); * return ( * * ... * * ); */ export declare function useHover(): UseHoverReturn;