import { ScriptService } from './script.service'; import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; /** * NOT CURRENTLY IN USE: * Uses piodide (a Web Assembly based library) to execute python expressions or programs. * This proved to be too slow to use in practice, so we had to go a different route for hide-expressions * HOWEVER, I suspect this will be very useful to us in the BPMN editor at some point. So keeping it around. */ export declare class PiodideService { private scriptService; private pyodide; private readyPromise; constructor(scriptService: ScriptService); /** Use this to determine if the service is ready for use. */ ready(): Observable; isReady(): boolean; load(): Promise; eval(expression: any, context: any, defaultResult: any): any; setContext(context: any): void; /** * Taken from SpiffWorkflow - this is a pythonic way to allow access to a dictionary with dot notation * as well as a dictionary. so my_box.attribute and my_box['attribute'] are the same thing. */ private python_box_class; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } //# sourceMappingURL=piodide.service.d.ts.map