import { Environment } from '../ngx-services.models';
import { HttpClient } from '@angular/common/http';
import { Observable } from 'rxjs';
import { ApiBillingConfigurable, BillingConfigIn, BillingConfigOut, BillingConfigsOut } from './models/api-billing.models';
import * as i0 from "@angular/core";
export declare class ApiBillingGtService implements ApiBillingConfigurable {
    private environments;
    private http;
    constructor(environments: Environment, http: HttpClient);
    /**
     * Retrieves the URL for the billing GT API from the environment configurations.
     *
     * @return {string} The URL of the shipments API.
     */
    get url(): string;
    /**
     * RRetrieves the list of billing configurations to locations
     *
     * @return {Observable<BillingConfigsOut>} An observable that emits an array of billing configurations to locations
     */
    getConfigs(): Observable<BillingConfigsOut>;
    /**
     * Retrieves the details of a location in billing configurations
     *
     * @param {number} id - The id of the location to fetch.
     * @return {Observable<BillingConfigOut>} An observable that emits the location billing configuration data.
     */
    getConfig(id: number): Observable<BillingConfigOut>;
    /**
     * Sends a POST request to create a new billing configuration location.
     *
     * @param {BillingConfigIn} body - The billing configuration to location data to be sent in the request body.
     * @return {Observable<BillingConfigOut>} An observable emitting the created billing configuration to location data.
     */
    postConfigs(body: BillingConfigIn): Observable<BillingConfigOut>;
    static ɵfac: i0.ɵɵFactoryDeclaration<ApiBillingGtService, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<ApiBillingGtService>;
}
