import { DataService } from './data.service'; import { ToastrService } from 'ngx-toastr'; import { CrudService } from '../components/crud/crud.service'; import { BlockerManager } from '../helpers/navigate'; import { IServiceBase } from '../interfaces/base.interface'; import { IErrorResult } from './error-handler'; import { ResponseData } from '../helpers/response'; export declare class ServiceBase extends DataService implements IServiceBase { resourceUrl?: any; private _waiting; private _subscriptions; protected canMakeRequestToServer: boolean; busy: boolean; toastr: ToastrService; crudService: CrudService; blocker: BlockerManager; get waiting(): boolean; set waiting(value: boolean); get urlResource(): string; get url(): string; constructor(resourceUrl?: any); getMethod(controllerMethod: string, params?: any, callback?: (response: Partial>) => void): void; postMethod(controllerMethod: string, body?: any, callback?: (response: Partial>) => void | any): void; putMethod(controllerMethod: string, body?: any, callback?: (response: Partial>) => void | any): void; patchMethod(controllerMethod: string, body?: any, callback?: (response: Partial>) => void | any): void; deleteMethod(controllerMethod: string, body?: any, callback?: (response: Partial>) => void | any): void; getRequest(controllerWithAction: string, params?: any, callback?: (response: Partial>) => void): void; postRequest(controllerWithAction: string, body?: any, callback?: (response: Partial>) => void | any): void; putRequest(controllerWithAction: string, body?: any, callback?: (response: Partial>) => void | any): void; patchRequest(controllerWithAction: string, body?: any, callback?: (response: Partial>) => void | any): void; deleteRequest(controllerWithAction: string, body?: any, callback?: (response: Partial>) => void | any): void; error(error: IErrorResult): void; request(): void; response(method: string): void; hasSubscriptions(): boolean; subscribe(): void; unsubscribe(): void; validateSubscriptions(): void; }