import { JSONValue } from "@holdenmatt/ts-utils"; export interface Pyodide { runPython: (code: string, globals?: Record) => Promise; runPythonJson: (code: string, globals?: Record) => Promise; setOutput: (callback: ((text: string) => void) | null) => void; terminate: () => void; } /** * Initialize the pyodide worker and load some given packages. */ export declare const initializeWorker: (packages?: string[]) => Promise;