import { Nullable } from "@reins/types"; export type TargetElement = Nullable | { current: Nullable; }; export declare enum CheckOption { CONTAINS = "contains", RECT = "rect" } export type UseOutsideClickType = (refs: TargetElement | TargetElement[], onOutsideClick: VoidFunction, options?: { disabled?: boolean; checkOption?: CheckOption; }) => void;