export type RuntimeId = 'claude' | 'codex' | 'local'; export type RuntimeInfo = { id: RuntimeId; available: boolean; version?: string; path?: string; model?: string; provider?: string; endpoint?: string; }; export type DetectedRuntimes = { runtimes: RuntimeInfo[]; }; /** * Resolve a command name to an executable path. Honors the SA_FAKE_BIN_DIR test * override first, then a normal PATH/EXTRA_SEARCH_PATHS lookup. Returns the bare * name when nothing resolves so `spawn` can still attempt its own PATH lookup — * i.e. a drop-in for a hardcoded `'sf'`/`'claude'` command string. */ export declare function resolveBinary(name: string): string; export declare function findBinaryPath(name: string): string | undefined; export declare function detectRuntimes(workspace?: string): Promise; /** Clear cache (useful for testing) */ export declare function clearRuntimeCache(): void;