import { Observable } from 'rxjs'; import * as i0 from "@angular/core"; /** * Does a very mediocre effort at evaluating short oneline python expressions in Javascript. * I did this using Regular Expressions - which is a terrible way to go about this. Would be far better to use a lexer. * There are good tests, so this is really here to be re-written by a better person than I. */ export declare class PythonService { constructor(); isReady(): boolean; ready(): Observable; /** * I am ashamed of this method. It would be far better to tokenize and process. * @param expression * @param context * @param defaultResult */ eval(expression: any, context: any, defaultResult?: string, original?: any): any; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; } //# sourceMappingURL=python.service.d.ts.map