import { CustomFocusEvent } from "./dispatchCustomEvent";
/**
 * Tracks focus outside a React subtree. Returns props for the subtree root.
 */
export declare function useFocusOutside(callback?: (event: CustomFocusEvent) => void, ownerDocument?: Document, enabled?: boolean): {
    onFocusCapture: () => void;
    onBlurCapture: () => void;
};
