import { RefObject } from 'react'; /** * Calls `onOutside` when a `mousedown` happens outside every element * referenced by `refs`. Refs and callback are read at event time, so the * listener is bound only once for the component's lifetime. */ export declare function useClickOutside(refs: Array>, onOutside: () => void): void;