/** * Fetch the shared/ Python modules from the server on first connection. * * These modules (events.py, model.py, init_phases.py, etc.) are needed * by the pipeline subprocess. They are NOT bundled in the npm package * (to avoid leaking proprietary code). Instead, they are fetched at * runtime from the server's /api/v1/agents/shared-bundle endpoint, * integrity-verified via SHA-256, and cached at ~/.melaya-runner/shared/. */ /** * The shared-bundle version currently installed on disk (from shared-version.txt), * or null if none/incomplete. Used to pre-warm the Python env on connect with the * SAME version the cache already holds, so the warm-up hits the cache instead of * triggering a reinstall. */ export declare function getLocalSharedVersion(): string | null; export declare function getSharedDir(): string; export declare function ensureSharedModules(serverUrl: string, expectedVersion: string, runnerToken: string): Promise;