export default function useHandleCloseByHijack(): (key: string) => void;