import { type CustomPointerEvent } from "./dispatchCustomEvent";
/**
 * Listens for `pointerdown` outside a react subtree. We use `pointerdown` rather than `pointerup`
 * to mimic layer dismissing behaviour present in OS.
 * 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 usePointerDownOutside(callback?: (event: CustomPointerEvent) => void, ownerDocument?: Document, enabled?: boolean): {
    onPointerDownCapture: () => void;
};
