import { HttpClient, HttpHeaders, HttpParams, HttpResponse } from '@angular/common/http'; import { Resource } from './resource'; import { ResourceArray } from './resourceArray'; import { HalOptions, HalParam } from './rest.service'; import { SubtypeBuilder } from './subtypeBuilder'; export interface ResourceExpire { entity: any; expire: number; } export declare class ResourceHelper { private static proxy_uri; private static root_uri; private static http; private static _headers; static headers: HttpHeaders; static optionParams(params: HttpParams, options?: HalOptions): HttpParams; static params(httpParams: HttpParams, params?: HalParam[]): HttpParams; static resolveRelations(resource: Resource): object; static createEmptyResult(_embedded: string): ResourceArray; static getClassName(obj: any): string; static className(objProto: any): string[]; static instantiateResourceFromResponse(entity: T, response: HttpResponse): T; static instantiateResourceCollection(type: new () => T, response: HttpResponse, result: ResourceArray, builder?: SubtypeBuilder): ResourceArray; static searchSubtypes(builder: SubtypeBuilder, embeddedClassName: string, instance: T): T; static instantiateResource(entity: T, payload: object): T; static setProxyUri(proxy_uri: string): void; static setRootUri(root_uri: string): void; static getURL(): string; static getProxy(uri: string): string; static setHttp(http: HttpClient): void; static getHttp(): HttpClient; static getRootUri(): string; private static addSlash; }