import { AxiosInstance, AxiosRequestConfig } from 'axios'; import { ErrorFactory } from './errors'; import { ApiResponse } from './types/response'; declare class Fetcher { private readonly apiInstance; private readonly errorFactory; constructor(apiInstance: AxiosInstance, errorFactory: ErrorFactory); get(url: string, params?: { [key: string]: any; }, config?: AxiosRequestConfig): Promise>; post(url: string, data: { [key: string]: any; }, params?: { [key: string]: any; }, config?: AxiosRequestConfig): Promise>; put(url: string, data: { [key: string]: any; }, config?: AxiosRequestConfig): Promise>; patch(url: string, data: { [key: string]: any; }, config?: AxiosRequestConfig): Promise>; delete(url: string, params?: { [key: string]: any; }): Promise>; } export { Fetcher }; export declare const initializeApi: (apiKey: string, apiSecret: string, apiUrl?: string, referer?: string) => AxiosInstance; export declare const registerBearerToken: (instance: AxiosInstance, token: string) => number;