/** * SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: GPL-3.0-or-later */ /** * Axios response interceptor onError callback. * This interceptor checks if the response failed because of a expired user session * and if enabled it will cause a redirect to the login. * * @param error - The response error */ export declare function onNotLoggedInError(error: unknown): Promise;