import { AxiosError, AxiosResponse } from 'axios';
type FailureCallback = {
    (error: AxiosError): Promise<string>;
};
export declare const onAuthorizationFailure: (callback: FailureCallback) => void;
export declare const handleSuccess: (response: AxiosResponse) => AxiosResponse;
export declare const handleFailure: (error: AxiosError) => Promise<unknown>;
export {};
