export default function useHandleCloseByMessenger(): (payload: string) => void;