import { Type } from '@angular/core'; import { Widget } from './widget'; import { OutputType } from '../common/widget-enums'; export declare class Formula extends Widget { computationLogic: string; oldValue: string; computation: string; outputType: OutputType; computationalLogic: string; unit: string; component?: Type; value: string; widgetIcon: string; constructor(field?: Formula); /** * get widget value * * @returns */ getWidgetValue(): any; /** * Set widget Value * * @param value */ setWidgetValue(value: any): void; /** * this will return serialize of widget */ getWidgetSerializedValue(): string; newFormula(): void; /**function to create report object with existing values * *@param Report * */ formula(field: any): void; }