import { type CustomPointerEvent } from "./dispatchCustomEvent.js";
/**
 * Listens for `pointerup` outside a react subtree.
 * Returns props to pass to the node we want to check for outside events.
 * By checking `isPointerInsideReactTreeRef` we can determine if the event happened outside the subtree of the node, saving some element-comparisons.
 */
export declare function usePointerUpOutside(callback?: (event: CustomPointerEvent) => void, ownerDocument?: Document, enabled?: boolean): {
    onPointerDownCapture: () => void;
    onPointerUpCapture: () => void;
};
