import type { RefObject } from "react";
interface UseOutsidePressArgs {
    referenceRef: RefObject<HTMLElement | null>;
    floatingRef: RefObject<HTMLDivElement | null>;
    enabled: boolean;
    onOutsidePress: (event: PointerEvent) => void;
}
export declare const useOutsidePress: ({ referenceRef, floatingRef, enabled, onOutsidePress, }: UseOutsidePressArgs) => void;
export {};
