import { AxiosRequestConfig } from 'axios';
export declare class ApiService {
    private client;
    constructor(baseURL?: string);
    private setupInterceptors;
    get<T>({ url, config, }: {
        url: string;
        config?: AxiosRequestConfig<T>;
    }): Promise<T>;
    post<R, B>({ url, body, config, }: {
        url: string;
        body?: B;
        config?: AxiosRequestConfig<B>;
    }): Promise<R>;
    put<R, B>({ url, body, config, }: {
        url: string;
        body?: B;
        config?: AxiosRequestConfig<B>;
    }): Promise<R>;
    delete<R>({ url, config, }: {
        url: string;
        config?: AxiosRequestConfig;
    }): Promise<R>;
}
//# sourceMappingURL=api.d.ts.map