import 'react';
import { clearStoredPath } from '../redirect/LocalRedirectUrlStorage';
import { clearStoredExternalPath } from '../redirect/ExternalRedirectUrlStorage';
import { clearStoredTenant } from '../storage/UnitySessionStorage';
import { useLogoutAction } from './authActions';
export const useSingleLogout = () => {
    const logout = useLogoutAction();
    return () => {
        clearStoredPath();
        clearStoredExternalPath();
        clearStoredTenant();
        logout();
    };
};
//# sourceMappingURL=useSingleLogout.js.map