import { HttpClient } from '@angular/common/http'; import { InjectionToken } from '@angular/core'; import { ApiResponse, Entity } from '@cervotech/types/api'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; export declare const API_BASE_URL: InjectionToken; export declare class ApiService { private http; private baseUrl; constructor(http: HttpClient, baseUrl: string); getOne

(id: Entity['id'], endPoint: string, query?: string): Observable>; deleteOne(id: Entity['id'], endPoint: string): Observable>; get

(endPoint: string, query?: string): Observable>; save(entity: Entity, endPoint: string): Observable>; execute(endPoint: string, method?: 'POST' | 'GET' | 'PATCH' | 'DELETE', body?: T): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration, never>; static ɵprov: i0.ɵɵInjectableDeclaration>; }