import { HttpClient } from "@angular/common/http";
export declare abstract class BaseAsyncService<TEntity> {
    private _http;
    private url;
    constructor(_http: HttpClient, url: string);
    getById(id: any): Promise<TEntity>;
    getAll(): Promise<TEntity>;
    add(context: TEntity): Promise<Object>;
    update(id: any, context: TEntity): Promise<Object>;
    delete(id: any): Promise<Object>;
}
