import { Type } from '@angular/core'; import { Widget } from './widget'; import { OutputType } from '../common/widget-enums'; import { PropertyPanelFieldMetadata } from '../common/property-panel-field'; import { FormulaComponent } from '../../../sculptor-lib/widgets/formula/formula.component'; export declare class Formula extends Widget { outPutType: OutputType; helpText: string; oldValue: string; computation: string; unit: string; dependents: []; component?: Type; value: string; markup: string; name: 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; static getPropertyPanelFieldMetadata(target: any, key: string): PropertyPanelFieldMetadata; getPropertyPanelFieldUIProperties(): any; }