import { OnInit } from "@angular/core"; import { Article, Client } from "@salaxy/core"; /** * Simple article listing implementation demo. * For simplicity, the component now fetches only one category: Entrepreneur. */ export declare class NgArticleListComponent implements OnInit { private client; /** List of articles */ articles: Article[]; /** Currently selected article */ article: Article; /** * Default constructor creates a new ArticleListComponent * @param cmsApi - Raw API for the method */ constructor(client: Client); /** Starts loading article collection called Entrepreneur from the server */ ngOnInit(): void; /** * Sets the current article - starts loading from the server * @param id - Identifier of the article */ setCurrent(id: string): void; }