import { EventEmitter, Injector } from '@angular/core'; import { HttpClient } from '@angular/common/http'; import { ResponseData } from '../helpers/response'; import { IDataService } from '../interfaces/data.interface'; import { ErrorHandler, IErrorResult } from './error-handler'; import { ConfigService } from './config.service'; export declare class DataService implements IDataService { readonly GET = "GET"; readonly POST = "POST"; readonly PUT = "PUT"; readonly DELETE = "DELETE"; readonly PATCH = "PATCH"; skipBlockerOnce: boolean; onError: EventEmitter; onRequest: EventEmitter; onResponse: EventEmitter; injector: Injector; http: HttpClient; errorProvider: ErrorHandler; configService: ConfigService; constructor(); protected verifyBlocker(): void; httpGet(url: string, params?: any, callback?: (response: Partial>) => void): void; httpPost(url: string, body?: any, callback?: ((response: Partial>) => void) | any): void; httpPut(url: string, body?: any, callback?: ((response: Partial>) => void) | any): void; httpPatch(url: string, body?: any, callback?: ((response: Partial>) => void) | any): void; httpDelete(url: string, body?: any, callback?: ((response: Partial>) => void) | any): void; httpVerb(verb: string, url: string, body?: any, callback?: ((response: Partial>) => void) | any): void; }