import { HttpClient } from '@angular/common/http'; import { Observable } from 'rxjs'; /** * A helper to access content from 2sxc * * @class Content * @template T Type which the system will return */ export declare class Content { private http; private contentType; constructor(http: HttpClient, contentType: string); /** * Get all items of this type */ get(): Observable; /** * get the specific item with the ID */ get(id: number): Observable; /** * This method doesn't exist yet - maybe one day we'll enhance for creating data-items */ post(): Observable; }