import { type Exec } from '../exec.js'; import type { AcpAgentResolution } from './acp-agent.js'; export declare const VERIFIED_CODEX_ACP_VERSIONS: Set; export declare function executableOnPath(command: string, env: NodeJS.ProcessEnv, cwd?: string): string; /** Match the npm Codex wrapper's platform-package/vendor selection. */ export declare function codexExecutable(entry: string): string; export interface CodexRuntime { source: 'CODEX_PATH' | 'bundled'; entry: string; executable: string; version: string; } export declare function probeCodexRuntime(adapter: AcpAgentResolution, env: NodeJS.ProcessEnv, exec?: Exec, cwd?: string): Promise; export declare function codexVersionAtLeast(version: string, minimum: string): boolean;