import { AxiosInstance } from 'axios';
/**
 * HTTP client for 1inch API calls with retry logic and error handling
 */
export declare class OneInchFetcher {
    private client;
    private apiKey;
    constructor(apiKey: string, baseURL?: string);
    /**
     * Make a GET request to the 1inch API
     */
    get<T>(endpoint: string, params?: Record<string, any>): Promise<T>;
    /**
     * Make a POST request to the 1inch API
     */
    post<T>(endpoint: string, data?: any): Promise<T>;
    /**
     * Handle and format errors
     */
    private handleError;
    /**
     * Get the underlying axios instance for advanced usage
     */
    getClient(): AxiosInstance;
}
//# sourceMappingURL=fetcher.d.ts.map