export interface RuntimeResolutionOptions { env?: NodeJS.ProcessEnv; commandExists?: (command: string, env: NodeJS.ProcessEnv) => boolean; lang?: 'zh' | 'en'; } export interface RuntimeSelection { executor: string; model: string; judgeModel: string; } export declare function commandExistsOnPath(command: string, env?: NodeJS.ProcessEnv): boolean; export declare function isCodexHost(env?: NodeJS.ProcessEnv): boolean; export declare function isCodexExecutor(executor: string): boolean; export declare function resolveCliExecutor(explicitExecutor?: string, options?: RuntimeResolutionOptions): string; export declare function resolveCliModel(executor: string, explicitModel?: string, options?: RuntimeResolutionOptions): string; export declare function defaultJudgeModel(executor: string, taskModel: string): string; export declare function resolveRuntimeSelection(input: { executor?: string; model?: string; }, options?: RuntimeResolutionOptions): RuntimeSelection; export declare function envJudgeModels(env?: NodeJS.ProcessEnv): string | undefined;