export declare const useEscapeClickaway: <T extends HTMLElement>(
/** Callback to fire when the user presses the escape key */
onEscape: () => void, 
/** Callback to fire when the user clicks an element not contained by the ref */
onClickAway: () => void) => import("react").MutableRefObject<T | null>;
