/// <reference types="react" />
import { KeyEvent } from "../common/ModalOur/types";
interface UseClickOverlayArgs {
    onClose?: (event: MouseEvent | KeyEvent) => void;
}
declare const useClickOverlay: ({ onClose }: UseClickOverlayArgs) => {
    handleOverlayClick: (event: MouseEvent) => void;
    modalContentRef: import("react").MutableRefObject<HTMLDivElement | null>;
};
export default useClickOverlay;
