/** * Zero-setup Python provisioning. * * `python -m venv` does NOT install a Python — it creates a thin environment * that symlinks back to an existing interpreter, frozen to that interpreter's * version. So when the host has no supported Python (e.g. Homebrew now ships * 3.13/3.14 as `python3`, which has no wheels for agentscope's native deps), * the runner can't build a working venv no matter what. * * This module removes the requirement for a host Python entirely: it uses * `uv` (a single static binary) to download a *managed, standalone* CPython of * the supported version and returns its interpreter path. The existing venv * pipeline then builds from that. `uv` itself is bootstrapped from its official * GitHub release if it isn't already installed — no `brew install`, no manual * steps. All failures degrade to `null` so the caller can fall back to a clear * "install Python 3.12" message. */ type Log = (m: string) => void; export declare function localUvPath(): string; /** * Provision a supported CPython with NO host Python required. Downloads a * managed standalone CPython of `version` via uv (bootstrapping uv itself if * needed) and returns its interpreter path — which the venv pipeline builds * from. Returns null if provisioning isn't possible (offline, unsupported * platform, tar missing), so the caller can show manual-install guidance. */ export declare function provisionPython(version: string, onLine: Log): Promise; export {};