import { b as XiorInstance, l as XiorError, d as XiorResponse } from '../xior-D_RKcIOK.mjs';

declare function defaultShouldRefresh(response: XiorResponse): boolean | 0;
declare function setupTokenRefresh(instance: XiorInstance, options: {
    refreshToken: (error: XiorError) => Promise<any> | any;
    shouldRefresh?: (response: XiorResponse) => boolean;
}): void;

export { setupTokenRefresh as default, defaultShouldRefresh };
