import { AxiosInstance, AxiosError } from 'axios'; export default class Api { baseUrlGo: string; baseUrlNode: string; apiVersion: string; token?: string; refresh?: string; locale?: string; axiosGo: AxiosInstance; axiosNode: AxiosInstance; updateUserCallback?: (auth: IRegisterResponse) => void; resetUserCallback?: (errorMessage: string) => void; refreshCustomerApiCallback?: () => void; constructor(baseUrlGo: string, baseUrlNode: string, locale?: string); setUpdateUserCallback(callback: (auth: IRegisterResponse) => void): void; setResetUserCallback(callback: (errorMessage: string) => void): void; setRefreshCustomerApiCallback(callback: () => void): void; setToken(token: string, refresh: string): void; setLanguage(locale: string): void; logError(error: AxiosError): void; shortUrl(longUrl: string): Promise; calculateOrder(params: ICalculateOrderParams): Promise; } //# sourceMappingURL=Api.d.ts.map