import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ICoreConfig } from '../../models/core.config.model'; import { FetchService } from '../fetch.service'; export interface IEntity { creationTime: Date; id: string; } export interface IStoredEntity

{ preview: P; data?: D; } export declare class StorageService { protected _http: HttpClient; protected fetchService: FetchService; config: ICoreConfig; constructor(_http: HttpClient, fetchService: FetchService, config: ICoreConfig); private _buildSchemaUrl; private _buildIdUrl; private _buildEntityUrl; searchByCase

(schema: string, body: any): Observable; deleteByCase

(schema: string, body: any): Observable; getPage

(schema: string, offset: number, pageSize: number): Observable; get

(schema: string, id: string): Observable>; delete(schema: string, id: string): Observable; create

(schema: string, entity: IStoredEntity): Observable>; update

(schema: string, entity: IStoredEntity): Observable>; }