import { HttpClient, HttpHeaders, HttpParams, HttpResponse } from '@angular/common/http'; import { Resource } from './resource'; import { ResourceArray } from './resource-array'; import { HalOptions, HalParam } from './rest.service'; import { SubTypeBuilder } from './subtype-builder'; export declare type ResourceExpire = { entity: any; expire: number; }; export declare class ResourceHelper { private static _headers; private static proxy_uri; private static root_uri; private static http; 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 instantiateResourceCollection(type: { new (): T; }, response: HttpResponse, result: ResourceArray, builder?: SubTypeBuilder): ResourceArray; static searchSubtypes(builder: SubTypeBuilder, embeddedClassName: string, instance: T): T; static instantiateResourceFromResponse(entity: T, response: HttpResponse): T; static instantiateResource(entity: T, payload: any): T; static setProxyUri(proxy_uri: string): void; static setRootUri(root_uri: string): void; static getURL(): string; private static addSlash; static getProxy(url: string): string; static setHttp(http: HttpClient): void; static getHttp(): HttpClient; static getRootUri(): string; }