import type { EngineRunOptions } from "./engine.js"; export declare const MANAGED_PI_BINARY = "/opt/pi-agent/0.85.1/bin/pi"; export declare const MANAGED_PI_WEB_ACCESS_EXTENSION = "/opt/pi-agent/0.85.1/node_modules/pi-web-access/dist/index.js"; export declare const MANAGED_PI_SUBAGENT_EXTENSION: string; export interface ManagedPiDelegation { binary: string; model: string; workspaceDir: string; thinking?: string; systemPrompt: string; workerPromptPath: string; webExtension: string; skillsExtension: string; skillsSocket: string; subagentExtension: string; } /** The image verifies the CLI once; per-turn probes read immutable installed metadata. */ export declare function managedPiVersion(): string | null; export declare function prepareManagedPi(opts: EngineRunOptions): Promise<{ env: NodeJS.ProcessEnv; delegationDir: string; cleanup(): void; }>; /** Called after the course Skills socket exists, before the first Pi process starts. */ export declare function writeManagedPiDelegation(dir: string, opts: EngineRunOptions, skillsSocket: string): string;