import { HttpClient, HttpResponse } from '@angular/common/http'; import { Observable } from 'rxjs'; export interface IObject { [key: string]: any; } export interface IData { http: HttpClient; api: string; params?: IObject; body?: IObject; id?: any; } export declare type ICallback = (value: HttpResponse) => void; export declare type IObservable = Observable>; export declare class Observables { static get(data: IData, options?: any): IObservable; static post(data: IData): IObservable; static patch(data: IData): IObservable; static put(data: IData): IObservable; static delete(data: IData): IObservable; static download(data: IData): IObservable; static upload(data: IData): IObservable; }