import { HttpService } from '@nestjs/axios';
import { ConfigService } from '@nestjs/config';
import { Request } from 'express';
export declare class HttpClientService {
    private readonly httpService;
    private readonly req;
    private readonly configService;
    constructor(httpService: HttpService, req: Request, configService: ConfigService);
    private getHeaders;
    private handleError;
    private resolveUrl;
    private buildUrl;
    get<T>(serviceKey: string, endpoint?: string, query?: any, skipError?: boolean): Promise<{
        result: T;
    }>;
    post<T>(serviceKey: string, endpoint?: string, body?: any, query?: any): Promise<{
        result: T;
    }>;
    put<T>(serviceKey: string, endpoint?: string, body?: any): Promise<{
        result: T;
    }>;
    patch<T>(serviceKey: string, endpoint?: string, body?: any): Promise<{
        result: T;
    }>;
    delete<T>(serviceKey: string, endpoint?: string, query?: any): Promise<{
        result: T;
    }>;
}
//# sourceMappingURL=http-client.service.d.ts.map