import type { AxiosError } from 'axios';
export type ApiErrorHandled = AxiosError & {
    apiErrorHandled?: boolean;
    /** @deprecated use apiErrorHandled */
    authErrorHandled?: boolean;
};
export declare function isServerError(status: number | undefined): boolean;
export declare function markApiErrorHandled(error: AxiosError): void;
export declare function isHandledApiError(reason: unknown): boolean;
/** @deprecated use markApiErrorHandled */
export declare const markAuthErrorHandled: typeof markApiErrorHandled;
/** @deprecated use isHandledApiError */
export declare const isHandledAuthError: typeof isHandledApiError;
/** @deprecated use ApiErrorHandled */
export type AuthErrorHandled = ApiErrorHandled;
