/** * SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors * SPDX-License-Identifier: GPL-3.0-or-later */ import type { CancelableAxiosInstance } from '../client.ts'; import type { InterceptorErrorHandler } from './index.ts'; /** * Handle CSRF token errors in Axios requests. * * @param axios - The axios instance the interceptor is attached to */ export declare function onCsrfTokenError(axios: CancelableAxiosInstance): InterceptorErrorHandler;