import { HttpClient, HttpParams } from "@angular/common/http"; import { TranslateService } from "@ngx-translate/core"; import { MessageService, SortMeta } from "primeng/api"; import { Ordination } from "./ordination"; export declare class EntityService { protected http: HttpClient; protected messageService: MessageService; protected entityUrl: string; protected actionsUrl: string; protected translate: TranslateService; constructor(http: HttpClient, messageService: MessageService, entityUrl: string, actionsUrl: string, translate: TranslateService); getListQueryParams(listParams: ListParams): HttpParams; private getBodyParams; getOrdination(sort: SortMeta[]): Ordination[]; defaultCatch(): import("rxjs").OperatorFunction; list(listParams: ListParams): import("rxjs").Observable; get(id: any): import("rxjs").Observable; insert(entity: T): import("rxjs").Observable; update(id: any, entity: T): import("rxjs").Observable; delete(id: any): import("rxjs").Observable; listCustomFilter(listParams: ListParams, action: string): import("rxjs").Observable; } export interface ListParams { page?: number; size?: number; sort?: SortMeta[]; filterQuery?: string; displayFields?: string[]; } export interface BodyParams { offset?: number; size?: number; orderBy?: string; filter?: string; displayfields?: string; }