export default function useLeaveSession(): () => void;