import { HttpClient } from '@angular/common/http';
import { DataBeforeRequestOptions, DataClientRequestOptions, DataHttpInterceptor, DataHttpRequestOptions } from '@angular-ru/cdk/http/typings';
import { Any } from '@angular-ru/cdk/typings';
import { Observable } from 'rxjs';
import { DataConfiguratorService } from './data-configurator.service';
import { LimitConcurrencyService } from './limit-concurency.service';
import * as i0 from "@angular/core";
interface ReqProperty {
    method: string;
    path: string;
    options: Partial<DataClientRequestOptions>;
}
export declare abstract class AbstractHttpClient<K = unknown> {
    protected http: HttpClient;
    protected configurator: DataConfiguratorService;
    protected limitConcurrency: LimitConcurrencyService;
    interceptor: K & DataHttpInterceptor;
    protected controllerUrl: string;
    protected local: Partial<DataClientRequestOptions>;
    protected constructor(http: HttpClient, configurator: DataConfiguratorService, limitConcurrency: LimitConcurrencyService, _interceptor: Any);
    get<T = Any, R = T>(path: string, options?: Partial<DataClientRequestOptions>): Observable<R>;
    post<T = Any, R = T>(path: string, options?: Partial<DataClientRequestOptions>): Observable<R>;
    put<T = Any, R = T>(path: string, options?: Partial<DataClientRequestOptions>): Observable<R>;
    patch<T = Any, R = T>(path: string, options?: Partial<DataClientRequestOptions>): Observable<R>;
    delete<T = Any, R = T>(path: string, options?: Partial<DataClientRequestOptions>): Observable<R>;
    createRequestOptions({ method, path, options }: ReqProperty): DataBeforeRequestOptions;
    abstract request<T = Any, R = T>(options: DataBeforeRequestOptions): Observable<R>;
    protected createDataHttpRequestOptions<T>(options: DataBeforeRequestOptions): DataHttpRequestOptions;
    private createHttpBody;
    static ɵfac: i0.ɵɵFactoryDeclaration<AbstractHttpClient<any>, never>;
    static ɵprov: i0.ɵɵInjectableDeclaration<AbstractHttpClient<any>>;
}
export {};
//# sourceMappingURL=abstract-http.client.d.ts.map