import { OnInit } from "@angular/core"; import { Calculation, Client } from "@salaxy/core"; import { Token } from "../../../services/index"; /** Simple calculations listing implementation demo. */ export declare class NgCalcListSimpleComponent implements OnInit { private client; private token; /** List of calculations */ calculations: Calculation[]; /** Currently selected calculation */ current: Calculation; /** * Default constructor creates a new CalcListComponent * @param calcApi - Raw API for the method * @param sessionService - Service to check whether the use s authenticated. */ constructor(client: Client, token: Token); /** * Starts loading calculations for the user if there is a currentToken, * typically stored in the cookie. */ ngOnInit(): void; /** * Sets the current calculation - starts loading from the server * @param id - Identifier of the calculation */ setCurrentId(id: string): void; }