import { Calculation } from "@salaxy/core"; import { SalaxyContext } from "../../../services/index"; /** Calculations list implementation based on the repository pattern */ export declare class NgCalculationsComponent { private context; /** * Default constructor creates a new CalcListComponent * @param calcApi - Raw API for the method * @param sessionService - Service to check whether the use s authenticated. */ constructor(context: SalaxyContext); /** List of calculations */ readonly calculations: Calculation[]; /** Currently selected calculation */ readonly current: Calculation; /** * Sets the current calculation * @param id - Identifier of the calculation */ setCurrentId(id: string): void; /** Creates a new calculation nd sets it as current */ createNew(): Calculation; }