import { f as XiorInstance, g as XiorError, a as XiorResponse } from '../types-BvXZzfqR.js'; declare function defaultShouldRefresh(response: XiorResponse): boolean | 0; declare function setupTokenRefresh(instance: XiorInstance, options: { refreshToken: (error: XiorError) => Promise | any; shouldRefresh?: (response: XiorResponse) => boolean; }): void; export { setupTokenRefresh as default, defaultShouldRefresh };