import { Observable, Subject } from 'rxjs'; import { DisplayFactory } from './display-utils'; import { Scope } from './state'; import { AnyVirtualDOM } from '@youwol/rx-vdom'; /** * Execute a given python source content. * * @param _args * @param _args.src The source to execute. * @param _args.scope The entering scope. * @param _args.output$ Subject in which output views are sent (when using `display` function). * @param _args.displayFactory Factory to display HTML elements when `display` is called. * @param _args.invalidated$ Observable that emits when the associated cell is invalidated. * @param _args.pyNamespace Namespace holding pyodide globals. * @returns Promise over the scope at exit */ export declare function executePy({ src, scope, output$, displayFactory, invalidated$, pyNamespace, }: { src: string; scope: Scope; output$: Subject; displayFactory: DisplayFactory; invalidated$: Observable; pyNamespace: unknown; }): Promise<{ let: { [k: string]: unknown; }; const: { [k: string]: unknown; }; python: any; }>;