import { Router } from '@angular/router'; import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs/internal/Observable'; import { ConfigService } from './config.service'; import { TokenService } from '../components/auth/token.service'; import { ResponseData } from '../helpers/response'; import { IEvent } from '../interfaces/event.interface'; import { ToastrService } from 'ngx-toastr'; import { Injector } from '@angular/core'; export declare abstract class HttpBaseService implements IEvent { appInjector: Injector; http: HttpClient; router: Router; tokenService: TokenService; toastr: ToastrService; configService: ConfigService; skipDisabledBlockUI: boolean; skipEnableBlockUI: boolean; protected constructor(_injector: Injector); set skipDisabledBlockOnce(value: boolean); set skipEnableBlockOnce(value: boolean); validateChangePassword(): void; postMethod(action: string | undefined, object: {}, callback: (response: Partial>) => void, callbackError?: Function): void; putMethod(action: string, object: {}, callback: (response: Partial>) => void, callbackError?: Function): void; patchMethod(action: string, object: {}, callback: (response: Partial>) => void, callbackError?: Function): void; deleteMethod(action: string, callback: (response: Partial>) => void, callbackError?: Function): void; getMethod(action: string | undefined, callback: (response: Partial>) => void, callbackError?: Function): void; subscribe(observable: Observable>, callback: (response: Partial>) => void, callbackError?: Function): void; setBlock(value?: boolean): void; onSuccess(): void; onError(): void; }