import { LanguageRuntime } from '../language.ts'; import type { RuntimeLanguage, RuntimeOptions } from '../types.ts'; /** * The python tier: every runtime that interprets Python source. * * Groups the engines behind the python3/python commands (pyodide, * monty here; wasi, local in Python and @struktoai/mirage-node), so * `language` and the default captures are declared once and * python-tier behavior has one home. A new Python engine subclasses * this, not LanguageRuntime. * * The repl is deliberately not part of this tier: it rides the general * Evaluator capability (`isEvaluator` plus `eval` with a session id), * which nothing about it makes python-shaped. */ export declare abstract class PythonRuntime extends LanguageRuntime { readonly language: RuntimeLanguage; /** The tier's head words: the class-default captures of every python engine. */ static readonly commands: readonly string[]; /** * Whether `python3 -m mod` can run at all. True for every engine that * is real CPython, since runpy does the work; false for an engine * implementing a subset of the language with no import system to find * a module with. A capability of the tier, declared here rather than * probed, so a refusal can name the runtime. */ readonly runsModules: boolean; constructor(options?: RuntimeOptions, configKeys?: readonly string[]); } //# sourceMappingURL=base.d.ts.map