import { MutableRefObject } from 'react';
declare type useDropdownReturn<Element extends HTMLElement> = [
    MutableRefObject<Element>,
    boolean,
    (_: boolean) => void
];
export declare function useHandleClickOutside<El extends HTMLElement>(open: boolean, onClick: () => void): MutableRefObject<El>;
export declare function useDropdown<El extends HTMLElement>(): useDropdownReturn<El>;
export {};
